The command you provided does not resize the image. To resize image, use the “imresize” function. For example,
A = imread(‘peppers.png’); % read the built-in image
resizedA = imresize(A,[1140 912]);
imwrite(‘resizedPeppers.png’); % resizedPeppers.png is now 912 x 1140 pixels