how to change matrix dimensions?
이전 댓글 표시
hi all
how can i change the matrix dimension from 312*1 to 276*1
thank you
댓글 수: 4
Mahdi
2014년 5월 23일
What do you want to do with the values that you're cutting out from the first matrix? Do you want to remove the first 36 values? the last 36 values?
lina
2014년 5월 23일
Mahdi
2014년 5월 23일
Do you know which index that the year 2006 corresponds to in the second matrix? (Where does the data stop for 2006?) Similarly, does your matrix tell you which year corresponds to which data point?
lina
2014년 5월 23일
채택된 답변
추가 답변 (1개)
Image Analyst
2014년 5월 23일
1 개 추천
Try interp2() or (much, much easier) try imresize() if you have the Image Processing Toolbox.
카테고리
도움말 센터 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!