I am just wondering , is there any way to show 8 images in a 2*4 matrices or not?if so , how?

I am just wondering , is there any way to show 8 images in a 2*4 matrices or not?if so , how?

Answers (1)

Yes. You can either use the montage function if you have filenames, or stitch the images together
bigImage = [image1, image2, image3, image4; image5, image6, image7, image8];
imshow(bigImage);
Note the semicolon after image4 - not a comma like the rest.

This question is closed.

Asked:

on 10 Mar 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!