MATLAB: 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? ………

digital image processingImage Processing Toolbox

clc close all clear all arr={s1,s2,s3,s4}; for i=1:4 b=imread(arr{i}); figure,imshow(arr{i}); end

Best Answer

clear
arr={s1,s2,s3,s4};
for i=1:4
b=imread(arr{i});
figure
imshow(b);
end