MATLAB: Imshow() not working

imshowMATLAB

Hi,
I'm trying to load and display an image using imshow().
im = im2double(imread('/MATLAB Drive/My Project/images/selfie.jpg'));
figure(), imshow(im);
The figure window comes up, but nothing is there. If I try to save the image using print I get a white image. I can look at the im variable, and it seems to have loaded properly. Help!

Best Answer

Use syntax:
imshow(im,[])
when im has non-integer format. Or just do this:
im = imread('/MATLAB Drive/My Project/images/selfie.jpg');
figure
imshow(im)