How to display multiple images in a single figure?

I need to display EigenFaces matrix where multiple images are shown within single window. What will be the code for displaying or viewing all the folder images altogether in one.

Answers (1)

Use subplot
Example with two images
im1=imread('pout.tif')
subplot(2,1,1),
imshow(im1);
subplot(2,1,2),
imshow(im1)

Asked:

on 12 Feb 2015

Edited:

on 12 Feb 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!