FFT function in matlab
Show older comments
Hi
i just wanted to check out something regarding the fft function in matlab?
Does the spectra produced by the fft function give amplitudes or power?
Answers (3)
Rick Rosson
on 6 Oct 2014
Edited: Rick Rosson
on 6 Oct 2014
0 votes
Neither. It is a straight implementation of the definition of the DFT. Depending on how you choose to scale the result, you can compute one of a variety of different forms of the spectrum. It is in general proportional to the amplitude spectrum and not the power spectrum.
What are you trying to compute using fft?
Image Analyst
on 6 Oct 2014
0 votes
Maybe you'd rather use pwelch() in the Signal Processing Toolbox.
Bran
on 6 Oct 2014
0 votes
4 Comments
Rick Rosson
on 7 Oct 2014
Please post your code.
Bran
on 7 Oct 2014
Bran
on 7 Oct 2014
Rick Rosson
on 7 Oct 2014
Can you also post the code you have where you computed the complex values using the FFT?
Categories
Find more on Transforms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!