ticks2f1
From STX Wiki
< Programmer Guide | Command Reference | EVAL
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.