Re: Matlab FFT Calibration Routines
- From: Greg Heath <heath@xxxxxxxxxxxxxxxx>
- Date: Mon, 5 May 2008 14:12:58 -0700 (PDT)
On May 5, 4:29 pm, "John Costello" <JohnCoste...@xxxxxxxxxxxxx> wrote:
Does Matlab have a canned set of data for FFT analysis?
What I am trying to find is a Matlab program that takes a
known set of data for a signal, computes the FFT and
extracts the spectral content and RMS equivalents of the
discrete sinusoids used to assimilate the signal...
For example, if we set up a known signal comprised of
f(t) = 5 + 2sin(2*pi*100*t) + 3sin(2*pi*1000*t)
what do we get from the Matlab FFT analysis?
What are you looking for?
Results depend on N and dt. The FFT imposed
period is
T = N*dt
Therefore, you should get the best results when
100*N*dt = integer.
t = dt*(0:N-1)';
df = 1/T
f = df*(0:N-1)';
Hope this helps.
Greg
.
- References:
- Matlab FFT Calibration Routines
- From: John Costello
- Matlab FFT Calibration Routines
- Prev by Date: Re: problem with fmincon and fsolve
- Next by Date: evalin not behaving as described!
- Previous by thread: Re: Matlab FFT Calibration Routines
- Next by thread: Re: fix digit in number
- Index(es):