rangepair

Reduces the number of vector points from the test data without losing the damage, magnitude, and/or effect of the test data.

Syntax

rangepair(yvect, numbins, minrange, maxrange, output, gate)

Arguments

yvect
Y vector of the data to be analyzed.
numbins
The number of bins desired.
minrange
The minimum value of the real time data. This value is used to compute the bins.
maxrange
The maximum value of the real time data. This value is used to compute the bins.
output
Used to determine the vector return type.
  • 0 = X
  • 1 = Y
  • 2 = Z range/mean matrix.
  • 3 = Sum across range.
  • 4 = Sum across mean.
gate
The hysteresis gate in signal units to be applied in the analysis. Pass 0 if hysteresis gating is not required. This is used to remove external noise.

Example

X = rangepair (p1w1c1.y, 19, -2125, 5000, 0, 0)
Y = rangepair (p1w1c1.y, 19, -2125, 5000, 1, 0)
Z = rangepair (p1w1c1.y, 19, -2125, 5000, 2, 0)

Comments

N/A