필터 지우기
필터 지우기

Shortening Matrix to specific number

조회 수: 2 (최근 30일)
sam van Bohemen
sam van Bohemen 2019년 11월 21일
댓글: sam van Bohemen 2019년 11월 22일
I have a matrix 139776 x 1. I need to shorten the matrix to 138240 x 1.
How can I do this?
Also, Is there a way to shorten the matrix to the nearest factor of Y.
Thanks
  댓글 수: 2
Walter Roberson
Walter Roberson 2019년 11월 21일
Do you want to just discard the extra values, or do you want interpolation ?
sam van Bohemen
sam van Bohemen 2019년 11월 21일
discarad them

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2019년 11월 22일
YourMatrix(138240+1:end) = [];

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by