"Nasser M. Abbasi" wrote in message <jsvg53$okt$1@speranza.aioe.org>...
> On 7/3/2012 1:40 PM, Aron Sceidt wrote:
> > Sorry for not making myself clear. What i really want is something
> >like getting a single value from the whole DFT image (upon some calculation)
> >that would represent some property in the DFT image. I
> >will be using these values to train a classifier.
>
> I still do not understand. A(1,1) is a single value.
> So now what? btw, you need to take the absolute of
> the FFT2 and phase, just like we do with standard 1D fft.
> The 2D fft is complex as is, just like 1D fft.
>
> I forgot some of this, but I think, assuming you did not do
> an fftshift2 on the frequency image then if you just take the 1D
> ftt (normal fft) on each ROW of the spatial image, and let
> the result be called A'
>
> Now apply a 1D fft on each COLUMN of A' then this gives
> you the 2D fft image that you would obtain from fft2.
>
> ps. if you did fftshift2, then the DC value will be in
> the middle of the fft image. Otherwise it will be the (1,1)
> value. The DC value represents the average brightness of
> the spatial image if I remember right.
>
> I am not sure if this helps. I think what you are asking for
> is still not clear.
>
> Nasser
Hi Mr. Nasser
I am Saad from Libya, i am working on the digital relays in power system, and one of the things that i am working on is the DFT method as a filter. I want to ask you if you know algorithm in Matlab to extract the magnitude of one frequency in that signal, and the change of that magnitude with time, because the signal is transient and decaying with time to steady state value. I would be appreciated if you inhance me.
Thanks,
