MATLAB: Join two matrices together

matrices maipulation

Hello,
I have two matrices, MatrixA 177*4 and MatrixB 177*4 . I want to create a third Matrix which takes the first column of Matrix A and second column of MatrixB . So my final dimensions of MatrixC will be 177*8.
Thanks

Best Answer

C = reshape([A; B],177,8)
Good luck!
- Rob