im trying to make array of images s1,s2,s3 and s4 and want to show them in different figures ........... what is wrong over there? .........
5 views (last 30 days)
More Answers (1)
Image Analyst on 5 Jun 2013
s1, s2, s3, and s4 need to be strings that contain the actual filenames. If you do that, it will work. For example:
% Define the filenames:
s1 = 'moon.tif';
s2 = 'cameraman.tif';
s3 = 'peppers.png';
s4 = 'football.jpg';
% Display each in a new figure.
You may be interested in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F