put two matrices in one matrix, one will take the odd column and the other one take the even column.
Ältere Kommentare anzeigen
A is a matrix 4x5
B is a matrix 4x5
C=[A B] 4x10 .. A and B will be combined in a matrix C where A take the odd column and B take the even column
1 Kommentar
Matt J
am 16 Dez. 2021
Go for it!
Antworten (1)
Fangjun Jiang
am 16 Dez. 2021
C=reshape([A;B],size(A,1),[])
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!