MATLAB Examples

This is an example of how to display a simple image in MATLAB®.

Read about the image function in the MATLAB documentation.

For more examples, go to MATLAB Plot Gallery

% Load the data for the North Atlantic image
load NAimage lng lat naimg

% Create the image display using the image command
image(lng, lat, naimg)

% Turn the axes off
axis off

% Add title
title('North Atlantic')