Re: link all the code
- From: "khoo " <jim_khoo@xxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 04:43:02 +0000 (UTC)
Looks to me like you should investigate cell arrays.
numimage = 5;
x = cell(numimage,1);
B = cell(numimage,1);
y = cell(numimage,1);
for K = 1:numimage
imagename = sprintf('image%d.jpg', K);
x{K} = imread(imagename);
B{K} = double(x{K});
y{K} = abs(fftshift(fft2(B{K})));
end
and so on.
then how to write the loop??? ui try ady..still cannot..i
change the loop but cannot use..i jz one using one loop
only..on my 1st post got five loop
.
- References:
- Re: link all the code
- From: Walter Roberson
- Re: link all the code
- Prev by Date: Re: Multiplying by a random number
- Next by Date: Re: link all the code
- Previous by thread: Re: link all the code
- Next by thread: Re: link all the code
- Index(es):
Relevant Pages
|