% Example of image processing
image_dat = imread('ECElogo.jpg');

size(image_dat)   % Image has three planes of color.
ans =
     70     77      3

% Display image.
image(image_dat)

% Alter the image.
image_dat(:,:,1) = 0;
image(image_dat)

% Add a red square.
image_dat(40:50,30:60,1) = 255;
image(image_dat)

