levelcrossing

Signal processing tool that extracts equivalent constant amplitude fatigue cycles from a time series of load or strain data.

Syntax

levelcrossing(yvect, numcrossings, output, debug)

Arguments

yvect
Y vector of the data to be analyzed.
numcrossings
The number of crossings desired.
output
Used to determine the vector return type.
  • 0 = Levels
  • 1 = Crossings at the level.
debug
Flag to turn on the debug mode. Prints debug information to debug *.csv in the current working directory. Optional argument (default = off).

Example

X = levelcrossing(p1w1c1.y,10,0)
Y = levelcrossing(p1w1c1.y,10,1)

Comments

N/A