Returns the time between zero crossing pairs with the same slope direction. It can be used for plotting frequency vs time by using 1/CyclePeriod.
|1||real vector||Yes||Input vector|
|4||real||No||0||X start position (0, 1 or 2)|
Input vector to be processed.
Baseline for zero-crossing detection.
Interpolation order, may be 1 or 2. The actual zero crossing point from which the measurements are based are calculated by interpolation from points either side of the zero-crossing. This sets the order of the interpolation algorithm.
Can be 0, 1 or 2. This shifts the x-axis of the result. So for example if the input vector is a 1kHz sine wave, the first element of the result will be the duration of the first cycle - i.e 1mS. What this argument does is set what the x value will be. If set to 0, it will be 1mS - i.e the location of the end of the first cycle. If set to 1, it will be 0.5mS - i.e the location of the end of the first half-cycle and if set to 2, it will be 0, i.e the start of the input.
Return type: real
|◄ cv||Date ▶|