Is there a way for me to be able to read/display 100 images (0001.png – 0100.png) without having to type them all manually like below? All 100 images are in a folder if that helps (C:\Users\pittsl\Desktop\Matlab\train\cup).
files = {'0001.png', '0002.png','0003.png','0004.png','0005.png',};for K = 1 : 5 this_image = imread(files{K}); ax = subplot(1, 5, K); imshow(this_image, 'Parent', ax);end
Best Answer