sig2osp

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 17:31, 18 November 2010 by Admin (talk | contribs) (1 revision: Initial import)
Jump to navigationJump to search
sig2osp
Usage:

sig2osp(x, sr, f1, do, n, amin)

Function:

Computes an amplitude spectrum (fft) of the signal x and converts it to an order spectrum.

Parameters:
x
The signal.
sr
The sampling rate of x.
f1
The first order frequency.
do
The order resolution of the result (frequency resolution = do*f1).
n
The number of order lines.
amin
The default amplitude for unassigned order lines.
Result:

An order spectrum with n elements.

Navigation menu

Personal tools