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

1 次查看(过去 30 天)
I have a 8x12 matrix and would like to convert it to a 96x1 matrix how do I do this?

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-12-19
编辑:Azzi Abdelmalek 2013-12-19
A(:)
Example
A=rand(8,12)
B=A(:)
%or
B=reshape(A,96,1)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by