how matrix dimention reduce
1 次查看(过去 30 天)
显示 更早的评论
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,
0 个评论
回答(1 个)
Image Analyst
2016-10-11
Try imresize
smallImage = imresize(largeImage, [392, 50]);
or
smallVector = imresize(yourVector, [500, 1]);
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!