I want to make multiple title using one subplot, How can I do it?

1 view (last 30 days)
I want titles above each individual image
for i = 1 : 20
I = imread(my gallery folder images contain 20 images);
subplot(5,5,i),imshow(I,[]);
title('i');
end
% here my problem I want to make different title, every image with a title, but when I write title('i') , all images appears in one figure with the same title i

Answers (0)

Categories

Find more on Read, Write, and Modify Image 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!