Linked Questions

3
votes
2answers
132 views

List extraction

Given the following list: ...
3
votes
2answers
255 views

Inserting rows of one matrix into rows of another matrix sequentially

I have two matrices M1 and M2. Both have same number of columns but different number of rows. I want to make a new matrix M which should have 1st row form M1, second row form M2, third row form M1, ...
3
votes
2answers
199 views

How to convert multidimensional matrix into regular matrix?

I have this multidimensional matrix: {{{{a1, a2}, {a3, a4}}, {{b1, b2}, {b3, b4}}}, {{{c1, c2}, {c3, c4}}, {{d1, d2}, {d3, d4}}}} I would like to convert it into ...
2
votes
2answers
422 views

How can I thread lists of different sizes?

What I need is the equivalent of Maple's zip(+, A, B, 0). Sure I can get it with: ...
1
vote
2answers
69 views

How to assemble matrices?

I'm a beginner in Mathematica and have a very basic question. Suppose I have made the following matrices (4x4). $$A,B,C,D,$$ and I want to make the larger matrix $$\begin{bmatrix} A & B \\ C &...
1
vote
2answers
134 views

Flatten a four dimensional array into a matrix

What is the simplest way to transform an array of the form ...
0
votes
2answers
136 views

Creating a nested table

I have a row of values that I partition into a table. row = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; rowPartitioned = Partition[row, 6] ...
26
votes
1answer
1k views

Using Transpose with a list as the second argument

I'm having difficulty understanding the Transpose function. I know what the transpose of a matrix is, not a problem, and I see that applying the ...
10
votes
1answer
401 views

Plotting how sunrise times change over the year

I created a somewhat lengthy Python code to show how the time of sunrise varies over a year, resulting in the following figure (daylight savings were disregarded): The dataset can be found here. The ...
2
votes
1answer
362 views

Flatten a list at some level

I wonder if is possible flatten a list at the last level without flattening at the first level, I think that isn't a good explanation so here is my code ...
2
votes
1answer
324 views

Flattening a list [duplicate]

I have a list with dimensions {1000, 1000, 1} and I would like it to have dimensions {1000, 1000}. But ...
1
vote
1answer
113 views

Combining the entries of two lists [closed]

I have two lists {a, b, c, d, e} and {1, 2, 3, 4, 5}. I want to creat a new list of tuples as follows ...
1
vote
1answer
62 views

Collecting specific Lists of data in coordinate form

Note: This might be trivial for many of the users but i am new to mathematica so i don't know!!! Question: Suppose i have three list of data as follows: ...
0
votes
1answer
155 views

How to understand the extensional usage of Flatten? [duplicate]

Recently, I have been reading Mathematica program that written by many advanced Mathematica user, like Mr.Wizard, J.M., Kuba,etc to improve my programming capacity In the On generalizing Partition[] (...
1
vote
0answers
58 views

Trouble in understanding `Table` [closed]

Even after, not only seeing, but understanding on Mathematica SE and also using Table. I am afraid, if I still understand it. Here is one example, which I couldn't ...

15 30 50 per page