MATLAB: Display images in one figure

displaydisplay imageimageimage processing

I am using a for loop to display n number of images. How can I display all my images in one figure dynamically? Thanks

Best Answer

Use subplot:
for i =1:Nimages
I = ... % read ith image
subplot(Nrows, Ncols, i), imshow(I)
end
Related Question