Description: 1) Calculation of:
- One-sided amplitude spectrum
- One-sided phase spectrum
- Vector of frequencies.
2) The function can plot:
- One-sided amplitude spectrum
- One-sided phase spectrum.
Two examples are given in order to clarify the usage of the function. The input and output arguments are given in the beginning of the code.
The code is based on the theory described in:
[1] N. Majumdar, S. Banerjee. MATLAB Graphics and Data Visualization, Birmingham, Packt Publishing, 2012.
[2] D. Manolakis, V. Ingle. Applied Digital Signal Processing. Cambridge, Cambridge University Press, 2011.
[3] G. Heinzel, A. Rudiger, R. Schilling. Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a comprehensive list of window functions and some new flat-top windows. Germany, Hannover, Max-Planck-Institut für Gravitationsphysik, 2002.
To Search:
File list (Check if you may need any files):
example1.m
example2.m
spectrum.m
描述.txt