join two matrices together

조회 수: 3 (최근 30일)
Ricky
Ricky 2013년 5월 29일
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일
C = reshape([A; B],177,8)
Good luck!
- Rob

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by