combine matrix from different matrix

조회 수: 3 (최근 30일)
Berfin Çetinkaya
Berfin Çetinkaya 2022년 3월 17일
댓글: Berfin Çetinkaya 2022년 3월 17일
I have two matrices named A and B. Can I combine these matrices (169 columns total) so that the first column is from A and the second is from B?

채택된 답변

David Hill
David Hill 2022년 3월 17일
C=reshape([A;B],size(A,1),[]);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by