I am running the fftdemo.m file that ships with MATLAB. The resulting power spectral density plot shows two peaks with different amplitudes. Because the original two sine waves that were generated have the same amplitude, I expect that the peaks of the PSD plot have the same amplitude as well.
MATLAB: Are the height of the peaks different in the “FFT for Spectral Analysis” demo in MATLAB 7.11 (R2010b)
MATLABSignal Processing Toolbox
Related Question
- Using MATLAB, when you perform an FFT on a signal such as A sin( omega*t ), why is the amplitude of the FFT not as specified by the formula
- Signal processing, fft, adding two cosine waves
- Are the values returned by SPECTRUM function different from those returned by SPECTRUM.WELCH function in Signal Processing Toolbox 6.7 (R2007a)
- Plot the simple sin wave with amplitude
Best Answer