Programmer Guide/Command Reference/EVAL/sig2osp: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
(initial import) |
m (1 revision: Initial import) |
(No difference)
|
Revision as of 17:31, 18 November 2010
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.