Programmer Guide/Command Reference/EVAL/otrack1: Difference between revisions

From STX Wiki
Jump to navigationJump to search
m (1 revision: Initial import)
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
=====otrack1=====
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]]


=====Usage:=====
[[../#Functions|<function list>]]
 
<code>otrack1(<var>a</var>, <var>df</var>, <var>f1</var>, <var>o</var>, <var>ob</var>, <var>amin</var>)</code>
 
=====Function:=====
 
Extract order (band) amplitudes from an amplitude spectrum.
 
=====Parameters:=====
 
;<var>a</var>
 
:An amplitude or power spectrum.
 
;<var>df</var>
 
:The frequency resolution of <var>a</var>.
 
;<var>f1</var>
 
:The first order frequency.
 
;<var>o</var>
 
:The order value or values (number or vector).
 
;<var>ob</var>
 
:The order tracking bandwidth.
 
;<var>amin</var>
 
:The default amplitude for unassigned order lines.
 
=====Result:=====
 
Order amplitudes of the same type as <var>o</var>.
 
=====Notes:=====
 
The order amplitude oa[i] is set to the maximum amplitude of the frequency band:<var>f1</var><code>*(</code><var>o</var><code>[i]-</code><var>ob</var><code>/2) ..</code> <var>f1</var><code>*(</code><var>o</var><code>[i]+</code><var>ob</var><code>/2)</code>

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
Description 1
The function computes the maximum spectrum amplitude oa[i] for each order band i:
f1*(o[i]-ob/2) .. f1*(o[i]+ob/2); with: i = 0..nrow(o)-1
Result
The amplitudes oa[i]. The result has the same type as o.
See also
ticks2f1, asp2osp, sig2osp

<function list>

Navigation menu

Personal tools