Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
I am just wondering , is there any way to show 8 images in a 2*4 matrices or not?if so , how?

Answers (1)

Image Analyst
Image Analyst on 10 Mar 2015
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.

Community Treasure Hunt

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

Start Hunting!