combine matrix from different matrix

1 view (last 30 days)
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?

Accepted Answer

David Hill
David Hill on 17 Mar 2022
C=reshape([A;B],size(A,1),[]);

More Answers (0)

Categories

Find more on Elementary Math in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!