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

 Accepted Answer

Thorsten
Thorsten on 17 Nov 2015
Edited: Thorsten on 17 Nov 2015
Use subplot:
for i =1:Nimages
I = ... % read ith image
subplot(Nrows, Ncols, i), imshow(I)
end

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!