sig2osp
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
Contents
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.