labfans
2007-04-14, 23:27
作者:Rick Auch
摘要:A function to calculate frequency amplitudes, optionally makes Bode plots.
MATLAB 版本: R12
描述:This function inputs a data vector and a sample rate and does the following:
-Removes the DC offset of the data
-Puts the data through a hanning window
-Calculates the FFT
-Calculates the amplitude from the FFT
-Calculates the frequency scale
-Optionally creates a Bode plot
摘要:A function to calculate frequency amplitudes, optionally makes Bode plots.
MATLAB 版本: R12
描述:This function inputs a data vector and a sample rate and does the following:
-Removes the DC offset of the data
-Puts the data through a hanning window
-Calculates the FFT
-Calculates the amplitude from the FFT
-Calculates the frequency scale
-Optionally creates a Bode plot