put two matrices in one matrix, one will take the odd column and the other one take the even column.

3 ビュー (過去 30 日間)
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 件)

Fangjun Jiang
Fangjun Jiang 2021 年 12 月 16 日


Find more on Creating and Concatenating Matrices in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by