MATLAB: How to view an undistorted JPG file in MATLAB

.jpgimagepicture

All that I want to do is view my original picture (saved as a JPG file) in MATLAB. Here is the code I am using:
img = imread('MyPicture.JPG');
image(img);
However, instead of displaying the exact version of the picture, MATLAB distorts it by shrinking the width. The original picture is, admittedly, abnormally wide (dimensions = 3172 x 972). How can I display the original picture without any distortions?

Best Answer

image(img);
axis equal;
Related Question