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?
0 件のコメント
回答 (1 件)
Azzi Abdelmalek
2013 年 12 月 19 日
編集済み: Azzi Abdelmalek
2013 年 12 月 19 日
A(:)
Example
A=rand(8,12)
B=A(:)
%or
B=reshape(A,96,1)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!