ticks2f1

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
ticks2f1
Usage:

ticks2f1(x, sr, xo {, lfrm, sfrm})

Function:

Extracts the rpm value/track (rpm = the number of rotations per second) from the tick-signal x.

Parameters:
x
The tick signal.
sr
The sampling rate of x.
xo
The order of the tick signal.
lfrm
The frame length. The default is nrow(x).
sfrm
The frame shift. The default is the value of lfrm.
Result:

The rpm value or track (a number or a vector).

Notes:

The tick signal x must be a periodic signal (pulse or triangle) with xo periods per rotation.

Navigation menu

Personal tools