Borrar filtros
Borrar filtros

Do a matrix,array

1 visualización (últimos 30 días)
Giannakis Stoukas
Giannakis Stoukas el 4 de Mayo de 2015
Respondida: Star Strider el 4 de Mayo de 2015
I have a matrix A=[5 4 3; 1 8 2; 6 9 7] and i want to insert it into one array B=[5 4 3 1 8 2 6 9 7].How i will do it?

Respuesta aceptada

Star Strider
Star Strider el 4 de Mayo de 2015
This works:
B = reshape(A', 1, []);

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by