HyperMath

Rainflow

Rainflow

Previous topic Next topic No expanding text in this topic  

Rainflow

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

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

Syntax

result = RainFlow(yvect, numbins, minrange, maxrange, output, hysteresis)

Arguments

Name

Description

 

yvect

A vector of time data to be analyzed.

 

numbins

Total number of bins specified.  The total number of bins is always two more than the value set in the number of bins.

 

minrange

Minimum value a bin can have for its range of real time data.

 

maxrange

Maximum value a bin can have for its range of real time data.

 

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

 

hysteresis

Used to determine the reversal in the slope.  Passes 0 if it does not want to use hysteresis.  Also used for removal of points due to external noise.

Outputs

Name

Description

 

result

A vector corresponding to output.

Example

Apply Rainflow to a vector of real data.

 

Syntax

 

newVec = Rainflow(vec, 5, 2, 20, 0, 1)

 

Results

 

Results as would be seen if printed out