How do i convert this data

8 visualizaciones (últimos 30 días)
Aycan Nehir
Aycan Nehir el 15 de Nov. de 2019
Comentada: Aycan Nehir el 15 de Nov. de 2019
I have a data as like A=[1 2 3;4 5 6;7 8 9] How can i convert it to B=[1 2 3 4 5 6 7 8 9]
A=1 2 3
4 5 6
7 8 9
B=horzcat(A(1,:),A(2,:),A(3,:)) i made this. its ok but my original data has too large dimension. i cant write as like this one by one.
Is there anybody help about that ?

Respuesta aceptada

Walter Roberson
Walter Roberson el 15 de Nov. de 2019
reshape(A.',1,[])
  1 comentario
Aycan Nehir
Aycan Nehir el 15 de Nov. de 2019
That's what i want. Thank you

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by