Matlab resizing a matrix
古いコメントを表示
I have a matrix 8314 x 3 and want to cut it down to 144 x 3 while having the same start and end point.
採用された回答
その他の回答 (1 件)
David Hill
2020 年 10 月 25 日
Not sure how you want to select the elements between the first and last.
newMatrix=reshape([yourMatrix(1:58:end),yourMatrix(end)],[144],[]);
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!