how to normalize signal in order to get the correct amplitude in FFT using hanning window
24 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using FFT function for a temporal signal (4063 data point) ,i get the spectrum ,in order to get more resolution for my signal (small deltaf) i must have more data points so i doubled the signal length by increasing the time (temporal signal),and apply again FFT function ,the problem is that the amplitude of the doubled signal is not the correct amplitude,i searched in MATLAB help doc i found hann function,so if there's any one who can help me with this function and how to apply it with FFT in order to get the correct amplitude.i will be grateful.thank you.
ps:i'm using MATLAB R2015b
2 Kommentare
dpb
am 20 Jan. 2019
Bearbeitet: dpb
am 21 Jan. 2019
"Show your work!"
Not a thing anybody here can say without either the data or the code to see what you actually did.
I've done several protracted Answers within the last few months on how to normalize a one-sided PSD with/without windowing and handling zero-padding and illustrated therein what happens with sampling frequency padding and resolution regarding peak amplitudes. One thing you must remember is that unless the frequency of the given energy component is identically at that of a frequency bin in the output FFT, there WILL be energy-smearing across adjacent bins and so the maximum peak in any one bin will NOT reflect the total energy at that frequency; you must integrate the peak to determine the total energy.
Basically, though, one follows the outline as is shown in the documentation for fft; if you start with a noise-free signal to ensure you've got the basics correct, then it's simply applying that to the actual data with the above caveats always in mind.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Discrete Fourier and Cosine Transforms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!