Merging matrices in Python
<p>I have some matrices with different lengths. The sizes are 200*59 , 200*1 and 200*1 and I want to make a big matrix of 200*61. How should I do it? </p>

<p>Use <code>concatenate</code> from <code>numpy</code></p>

<pre><code>import numpy as np
a = np.random.rand(200,59)
b = np.random.rand(200,1)
c = np.random.rand(200,1)

d = np.concatenate((a,b,c),axis=1)
print d.shape #(200,61)
</code></pre>

python matrix