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!