array division
1 回表示 (過去 30 日間)
古いコメントを表示
how to divide a 1D array in 4 equal parts
0 件のコメント
採用された回答
Wayne King
2012 年 3 月 24 日
If you have the Signal Processing Toolbox, you can use buffer()
x = randn(16,1);
y = buffer(x,4);
Otherwise, you can use reshape()
x = randn(16,1);
y = reshape(x,4,4);
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!