Y = fft(X,n) returns the n-point DFT. If the length of X is less than n, X is padded with trailing zeros to length n 图形的纵坐标的含义可以是功率或功率密度或fft变换后的绝对值. 1) Y = fft(y,512); Pyy = Y.* conj(Y); 2) Y = fft(y,512); Pyy = Y.* conj(Y)/512; 3) Y = fft(y,512); Pyy=abs(Y)
麻烦采纳,谢谢!