|
On 10 Feb, 09:55, "Madhu Shurpali" <madhu.shurp...@cvgrp.com> wrote:
> Hello,
>
> =A0 I am looking for the relationship between amplitude in the freq domai=
n and time domain.
>
> For example consider a sine wave with freq 2Hz and amplitude 20 in the ti=
me domain. When I FFT it, I get an impuse in the Freq at 2 Hz with a peak d=
ifferent from 20. How are these two related
First of all, the FFT used by matlab is not unitary.
That is, the energy is not preserved. To preserve
energy you need to scale the spectrum by sqrt(N)
where N is the FFT lengh.
The second issue is spectrum leakage. You will only
recognize one spectrum coefficient with the correct
amplitude (after scaling) iff the frequency is
an integer fraction of the sampling frequency.
x =3D sin(2*pi*f*t)
f =3D n/N n integer such that n < N/2
where N is the length of the signal.
If this is *not* the case, the energy in the signal
will be distributed across almost all the spectrum
coefficients. This is known as 'spectrum leakage'.
> and how can I get them to be equal ?
In general, you can't.
Rune
|