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!