how matrix dimention reduce

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,

Antworten (1)

Image Analyst
Image Analyst am 11 Okt. 2016

1 Stimme

Try imresize
smallImage = imresize(largeImage, [392, 50]);
or
smallVector = imresize(yourVector, [500, 1]);

Gefragt:

am 11 Okt. 2016

Kommentiert:

am 13 Okt. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by