how to make a 8x12 matrix into a 96x1 matrix?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a 8x12 matrix and would like to convert it to a 96x1 matrix how do I do this?
0 Kommentare
Antworten (1)
Azzi Abdelmalek
am 19 Dez. 2013
Bearbeitet: Azzi Abdelmalek
am 19 Dez. 2013
A(:)
Example
A=rand(8,12)
B=A(:)
%or
B=reshape(A,96,1)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!