Robochameleon  v1.0
Functions
spectra.m File Reference

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...
 

Detailed Description

Returns the single-sided amplitude spectrum and plots (optional)

Author
Miguel Iglesias Olmedo
Date
23/11/2012
Version

Definition in file spectra.m.

Function Documentation

function spectra ( in  y,
in  Fs,
in  plotS 
)

Returns the single-sided amplitude spectrum and plots (optional)

Parameters
yTime domain signal
FsSampling frequency [Hz]
plotSFlag to enable plotting the PSD
Return values
ffrequency vector [Hz]
spectrumspectrum vector [natural units]