FFT变换算法,编的一点小程序 % This function plots the power spectrum on the input vector. % The coding was altered slightly from the demo that comes with % Matlab, but here it is in one easy-to-use file.