Hi All
the fft function in matlab gives a theoretical mathematical fft of the signal, and is not scaled to units and is real immaginary and not amplitude-frequency
I think in better terms, I want to plot the amplitude spectrum of the signal,, with the X axis being the frequencies of the input signal.
is there an alternative way of fft to do this ? and is the following link correct?
for example if this is my signal
using the code in the link I get
which its extremums do not meet the extremums of the time signal
8 Comments
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169783
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169783
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169843
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169843
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169878
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169878
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169898
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169898
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169998
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1169998
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1170923
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1170923
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1170978
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1170978
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1171013
Direct link to this comment
https://fr.mathworks.com/matlabcentral/answers/668058-how-to-take-the-engineering-fft-magnitude-spectrum-scaled-correctly-of-signal-in-matlab#comment_1171013
Sign in to comment.