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??
>>

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 14 de En. de 2016
Editada: Azzi Abdelmalek el 14 de En. de 2016
A=[1 2 3;4 5 6;7 8 9];
B=A(:)
% Or Use reshape function
B=reshape(A,[],1)

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 14 de En. de 2016

Editada:

el 14 de En. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by