Salam
Mar16-09, 06:45 AM
1. The problem statement, all variables and given/known data
i am new to matlab, i am trying to read many images named , salam(1).jpg, salam(2).jpg,...,salam(n).jpg, and i am trying to put that in the imread function as shown in the code below
counter =1;
while (counter<5)
cur=imread('salam(' int2str(counter) ').jpg');
counter=counter+1;
end
but i am getting the following error
??? cur=imread('salam(' int2str(counter) ').jpg');
|
Error: Missing MATLAB operator.
i am new to matlab, i am trying to read many images named , salam(1).jpg, salam(2).jpg,...,salam(n).jpg, and i am trying to put that in the imread function as shown in the code below
counter =1;
while (counter<5)
cur=imread('salam(' int2str(counter) ').jpg');
counter=counter+1;
end
but i am getting the following error
??? cur=imread('salam(' int2str(counter) ').jpg');
|
Error: Missing MATLAB operator.