From: sweety on
"sukhwinder " <sukhisembhi(a)yahoo.co.in> wrote in message <hnf1ct$s5e$1(a)fred.mathworks.com>...
> i am working on medical image enhancement using PSO . i donot know how to initialize the particle, position and velocity and write program . pl z help me
From: Sadik on
Hi,

You can start like this:

decimateBy = round(size(A,1)/10);
A(1:decimateBy:end,:) = 0;

Then you can do fft and so on.

Best.


"kk KKsingh" <akikumar1983(a)gmail.com> wrote in message <hnf74k$mv5$1(a)fred.mathworks.com>...
> I applied it on the signal now i want to apply on the image
>
> Suppose i have taken a image
>
> Having x on x, and t on y.....
>
> So i it will be a matrix. Now i want to decimate that image by 10%.........after decimation i want to apply FFT by putting zeros in place of decimation get the spectrum.. I want to apply it on rows as I am decimation X direction not y direction..So how should i do it any starting steps will be good for me
 | 
Pages: 1
Prev: program
Next: matlab jomework help...