FFT Amplitude and FFT Normalization
    47 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
Hello, I have 2 questions: 1) what's the (physical) meaning of the Y-axis in an FFT vs. Frequency plot? (I mean usually I plot the abs(FFT(signal))
2) How can I normlalize my fft plot by the signal energy (if I want to compare to fft plots, of different signals...)?
THANK YOU
1 comentario
  Soufiane Atouani
 el 17 de Mayo de 2022
				Hi, 
for exmples if you have a signal x sampled  at Ts (the inverse of sampling rate) to plot fft with Nfft point you'll write 
mag = abs(fft(x,Nfft))
f = 0:fs/Nfft:fs-fs/Nfft
plot(rn mag)
so to normalise your frequency 
put f_noramlised = 0:1/Nfft:1-1/Nfft
then plot(f_normalised, mag)
if you want to normalise amplitude too divide your mag by max(mag)
Respuestas (1)
  Chunru
      
      
 el 18 de Mayo de 2022
        
      Editada: Chunru
      
      
 el 18 de Mayo de 2022
  
      There are different ways of interpreting the FT.  Here is one way according to Parseval's theorem: 
 or
 or 
The LHS of the first equation is the total signal energy. The LHS of the last equation is the power of the signal.
If one computes FT{x(n)} = X(k), then plot out  .  The integration of
.  The integration of  over the freq k is the total signal power.  Therefore
 over the freq k is the total signal power.  Therefore  can be interpreted as Power Spectrum Density of x(t).  If you plot out
 can be interpreted as Power Spectrum Density of x(t).  If you plot out  , then it can be interpreted as the magnitude spectrum where magnitude square is the power.    If you use dB scale, that is
, then it can be interpreted as the magnitude spectrum where magnitude square is the power.    If you use dB scale, that is  , then you are free to interpret it as power or amplitude in dB.
, then you are free to interpret it as power or amplitude in dB.
 .  The integration of
.  The integration of  over the freq k is the total signal power.  Therefore
 over the freq k is the total signal power.  Therefore  can be interpreted as Power Spectrum Density of x(t).  If you plot out
 can be interpreted as Power Spectrum Density of x(t).  If you plot out  , then it can be interpreted as the magnitude spectrum where magnitude square is the power.    If you use dB scale, that is
, then it can be interpreted as the magnitude spectrum where magnitude square is the power.    If you use dB scale, that is  , then you are free to interpret it as power or amplitude in dB.
, then you are free to interpret it as power or amplitude in dB.If you plot  , it may be interpreted as enengy spectrum densitity.
, it may be interpreted as enengy spectrum densitity.
 , it may be interpreted as enengy spectrum densitity.
, it may be interpreted as enengy spectrum densitity.If you plot  , it is just the magnitude of Fourier Coefficients (FT).
, it is just the magnitude of Fourier Coefficients (FT).
 , it is just the magnitude of Fourier Coefficients (FT).
, it is just the magnitude of Fourier Coefficients (FT).6 comentarios
  Paul
      
      
 el 23 de Mayo de 2022
				Thanks for the reference. I'll try to find a copy of Mitra.
FWIW, neither Oppenheim and Schafer, nor Proakis and Manolakis define power as above for a finite duration sequence (periodic and random signals are not finite duration) or a finite window of an infinite duration sequence, so based on my very small sample I'm not sure that almost every textbook includes those definitions.
All but one of the on-line accessible sources I've seen, such as the one at gaussianwaves.com and various university course lecture notes, also do not define power that way for a finite duration sequence, though for sure I haven't done an exhaustive search.
Too bad that doc page doesn't include references ....
  Chunru
      
      
 el 24 de Mayo de 2022
				Some references at my hand:
J. Cartmhour, Digital Signal Processing, Prentice Hall, 2000, Sec 12.2
S.K. Mitra, Digital Signal Processing, 2nd Ed, McGraw-Hill, 2001,Sec 2.1.3
D.G. Manolakis, V K Ingle, S. M  Kogon, Statistical and Adaptive Signal Processing, McGraw-Hill, 2000, Sec 2.1.2 
T. Giannakopoulos and A. Pikraki, Introductio to Audio Analysis, Elsevier, 2014, Sec. 4.3.1
F. Eyben, Real-time Speecha and Music Classificatio by Large Audio Feature Space Extraction,  Springer Theses, 2016, Sec 2.2.2
Ver también
Categorías
				Más información sobre Get Started with Signal Processing Toolbox en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



