join two matrices together

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

 採用された回答

John Doe
John Doe 2013 年 5 月 29 日

1 投票

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2013 年 5 月 29 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by