multiple columns to one column

<<
<<
>>Hi I am kinds of practicing the matlab code to edit some data
I am trying to edit the multiple columns of data to one columns like the pictures above.
Anyone help me with this problem??
>>

 采纳的回答

A=[1 2 3;4 5 6;7 8 9];
B=A(:)
% Or Use reshape function
B=reshape(A,[],1)

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by