10 questions linked to/from Merging Two Lists - Loops
1k views

### Adding columns to an existing table [duplicate]

I have two tables that look something like- 39.3278 2990.3 4503.98 0 -1859.37 35.7833 3014.8 1281.98 0 -3497.95 and ...
• 337
24k views

### What is the most efficient way to add rows and columns to a matrix?

Say I have a matrix m and a vector v. ...
• 19.3k
1k views

### Thread over list in different levels

I have these two lists, both with the same length in the first dimension: ...
• 26.3k
21k views

### How do you concatenate matrices? And how do you make block matrices?

This is pretty trivial to do in Matlab, but I have not seen a function for it in Mathematica. Here is how you can do it with Join and ...
• 439
719 views

### Insert all elements from one matrix into another

I have two matrices $A$ and $B$ which are the same size. Each element of $A$ is a list of numbers. Each element of $B$ is just a number. How do I insert each element of $B$ into the corresponding list ...
• 3,416
699 views

...
• 657
24k views

### How to add an extra column to a current matrix (list)? [duplicate]

a = {{-800, 1712}, {-801, 1713}, {-806, 1832}} TableForm[a] b = a[[All, 2]] - Min[a[[All, 2]]] How do I make a new matrix (list) whic looks like this ...
• 4,986
1k views

### How to multiply lists of data?

Let two lists of data, say lst1={{x1,y1},{x2,y2},...,{xn,yn}} lst2={{x1,z1},{x2,z2},...,{xn,zn}} I need to construct a third list ...
So I want to be able to put matrices "next to each other", or in other words if I have two matrices $A$ that is $n\times k$ and $B$ that is $n\times m$, I want to be able to create a matrix $C$ that ...