FFT Amplitude and FFT Normalization
    조회 수: 46 (최근 30일)
  
       이전 댓글 표시
    
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
  Soufiane Atouani
 2022년 5월 17일
				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)
답변 (1개)
  Chunru
      
      
 2022년 5월 18일
        
      편집: Chunru
      
      
 2022년 5월 18일
  
      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
  Paul
      
      
 2022년 5월 23일
				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
      
      
 2022년 5월 24일
				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
참고 항목
카테고리
				Help Center 및 File Exchange에서 Get Started with Signal Processing Toolbox에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



