how to make a 8x12 matrix into a 96x1 matrix?

1 visualización (últimos 30 días)
andrew
andrew el 19 de Dic. de 2013
Editada: Azzi Abdelmalek el 19 de Dic. de 2013
I have a 8x12 matrix and would like to convert it to a 96x1 matrix how do I do this?

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 19 de Dic. de 2013
Editada: Azzi Abdelmalek el 19 de Dic. de 2013
A(:)
Example
A=rand(8,12)
B=A(:)
%or
B=reshape(A,96,1)

Categorías

Más información sobre Matrices and Arrays 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