|
Robochameleon
v1.0
|
Returns the single-sided amplitude spectrum and plots (optional) More...
Go to the source code of this file.
Functions | |
| function | spectra (in y, in Fs, in plotS) |
| Returns the single-sided amplitude spectrum and plots (optional) More... | |
Returns the single-sided amplitude spectrum and plots (optional)
Definition in file spectra.m.
| function spectra | ( | in | y, |
| in | Fs, | ||
| in | plotS | ||
| ) |
Returns the single-sided amplitude spectrum and plots (optional)
| y | Time domain signal |
| Fs | Sampling frequency [Hz] |
| plotS | Flag to enable plotting the PSD |
| f | frequency vector [Hz] |
| spectrum | spectrum vector [natural units] |
1.8.11