Spectral Analysis

coherence(vx, vy, n, r, [w]) Returns the coherence of vectors vx and vy. The signal vectors are divided into n overlapping intervals with fraction of overlap r. Each data segment is windowed with taper w.

cspectrum(vx, vy, n, r, [w]) Returns the cross spectrum of the vectors vx and vy. The signal vectors are divided into n overlapping intervals with fraction of overlap r. Each data segment is windowed with taper w.

pspectrum(v, n, r, [w]) Returns the power spectrum of v, computed by dividing v into n overlapping segments with overlap fraction r. Each data segment is windowed with taper w.

snr(vx, vy, n, r, [w]) Returns the signal-to-noise ratio for vx and vy. The signal vectors are divided into n overlapping segments with fraction of overlap r. Each data segment is windowed with taper w.

Arguments: