Programmer Guide/Command Reference/EVAL/otrack1: Difference between revisions
From STX Wiki
< Programmer Guide | Command Reference | EVAL
Jump to navigationJump to search
m (1 revision: Initial import) |
No edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
Compute the order spectrum of a signal. | |||
;Usage: | |||
:<code>otrack1(<var>a</var>, <var>df</var>, <var>f1</var>, <var>o</var>, <var>ob</var>, <var>oini</var>})</code> | |||
:;<var>a</var>:amplitude or power spectrum (vector) | |||
:;<var>df</var>:frequency resolution of ''a'' in Hz; 0 < ''df'' | |||
:;<var>f1</var>:frequency of the 1st order in Hz; 0 < ''f1'' | |||
:;<var>o</var>:tracking orders (scalar or vector); all orders must be greater than 0 | |||
:;<var>ob</var>:width of order bands; 0 < ''ob'' | |||
:;<var>oini</var>:amplitude for unassigned order lines | |||
;Description 1: The function computes the maximum spectrum amplitude ''oa''[i] for each order band i: | |||
:<code>''f1*(''o''[i]-''ob''/2) .. ''f1*(''o''[i]+''ob''/2); with: i = 0..nrow(''o'')-1</code> | |||
;Result: The amplitudes ''oa''[i]. The result has the same type as ''o''. | |||
;See also: [[../ticks2f1|ticks2f1]], [[../asp2osp|asp2osp]], [[../sig2osp|sig2osp]] | |||
[[../#Functions|<function list>]] | |||
Revision as of 12:55, 18 April 2011
Compute the order spectrum of a signal.
- Usage
otrack1(a, df, f1, o, ob, oini})
- a
- amplitude or power spectrum (vector)
- df
- frequency resolution of a in Hz; 0 < df
- f1
- frequency of the 1st order in Hz; 0 < f1
- o
- tracking orders (scalar or vector); all orders must be greater than 0
- ob
- width of order bands; 0 < ob
- oini
- amplitude for unassigned order lines