Suppose I have a 2 by 60 matrix, like A = [1:60,2:61] how can I reshape it by the first 10 rows so that I can get a 20 by 6 matrix??
1 回表示 (過去 30 日間)
古いコメントを表示
Uzochukwu Akabueze
2021 年 10 月 12 日
コメント済み: Uzochukwu Akabueze
2021 年 10 月 13 日
B = reshape(A,rowSize(A)/6,[],6)
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!