Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
hi i have a problem in running the loop for my code given below
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
the problem is it is taking s value only as p i.e 512 i wanted to run for the range s=1 to 512, so as to get q as 512 values each for which of s value . I(:,:,1) r channel for lena image
ya=((1+(I(:,:,1).^2)));
p=512;
for s=1:p
Ya=ya.^(s);
k= fft2(allpixel);
f=abs(fft2(allpixel)).^2;
q=Ya.*f;
imshow(q,[])
total=(1/2*pi).*sum(sum(q));
end
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!