Answer: Using imread command
Step-by-step explanation:
For loading images in matlab we can use the imread command. Some example regarding how to use the code is as follows:
A = imread('ball.tif');
Here suppose the image file name is saved as ball and is in tif format. Here the image is stored in an array named A.
We can view the image using
imshow(A);