how to show images in a for matlab code example Example: matlab read image % Reads image im = imread('image.jpg'); % Displays image image(invert)