I'm trying to resize the image. Now I using this code to resize
img = imread('color3.jpg');
resizedimage = imresize(img2,[40 60]);
From this I got image, x-axis from 0 to 60 and y-axis 0 to 40.
But I want x-axis from 30 to 60 and y-axis 10 to 40.
How can I do that?