Hi guys,
I have 3 arrays with 10 elements which I used numpy to create:
Array 1 Array 2 Array 3
1 2 3
1 2 3
1 2 3
1 2 3
. . .
. . .
. . .
I'd like to construct a matrix 3x10 with these arrays used as columns:
|1 2 3|
|1 2 3|
|1 2 3|
|. . . |
|. . . |
|. . . |
In MatLab I can do this with this command: Matrix = [Array1, Array2, Array3].
I tried something similar in Python 3.5.2 but I received the type "List". I appreciate the help.
Hi guys,
I found a solution using "np.column_stack".
In the address below, I found helpful information to those who wants to migrate from MatLab to Python. XD
https://docs.scipy.org/doc/numpy-dev/use...users.html
I have 3 arrays with 10 elements which I used numpy to create:
Array 1 Array 2 Array 3
1 2 3
1 2 3
1 2 3
1 2 3
. . .
. . .
. . .
I'd like to construct a matrix 3x10 with these arrays used as columns:
|1 2 3|
|1 2 3|
|1 2 3|
|. . . |
|. . . |
|. . . |
In MatLab I can do this with this command: Matrix = [Array1, Array2, Array3].
I tried something similar in Python 3.5.2 but I received the type "List". I appreciate the help.
Hi guys,
I found a solution using "np.column_stack".
In the address below, I found helpful information to those who wants to migrate from MatLab to Python. XD
https://docs.scipy.org/doc/numpy-dev/use...users.html