Split large matrix in smaller matrices?
12 ビュー (過去 30 日間)
古いコメントを表示
Hi, I have a matrix A = 169 x 606 and I want to convert each row into a 13 x 13 matrix? I know this is probably a simple operation, but I can't seem to get it to work. If anyone has any ideas it would be very much appreciated!
Thanks.
0 件のコメント
採用された回答
Andrei Bobrov
2012 年 6 月 15 日
eg ( A - your matrix with size (169 x 4),)
for each column:
A = randi(3000,169,4);
out = reshape(A,13,13,[])
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!