how matrix dimention reduce

13 ビュー (過去 30 日間)
ahmad karim
ahmad karim 2016 年 10 月 11 日
コメント済み: ahmad karim 2016 年 10 月 13 日
Hello, how can i reduce the dimentions on matrix assum i have 39200*100 how i can reduce it to 392*50 ? or i have one vector assume 39200*1 how can i reduce it to 500*1 Regards,

回答 (1 件)

Image Analyst
Image Analyst 2016 年 10 月 11 日
Try imresize
smallImage = imresize(largeImage, [392, 50]);
or
smallVector = imresize(yourVector, [500, 1]);
  1 件のコメント
ahmad karim
ahmad karim 2016 年 10 月 13 日
Thanks alot,

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by