how matrix dimention reduce

1 次查看(过去 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]);

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by