sig2osp

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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