LevelCrossingCount (FPScript)
Performs a level crossing count from the Markov or Rainflow Matrix. The function counts the absolute frequencies of positive and negative level crossings.
Syntax
LevelCrossingCount(Matrix, Result)
The syntax of the LevelCrossingCount function consists of the following parts:
Part |
Description |
||||||
---|---|---|---|---|---|---|---|
Matrix |
The Markov or Rainflow matrix to be evaluated. If the matrix is specified as a signal series with a Z component, the X and Z components must contain the midpoints of the class division the matrix is based on. Permitted data structures are data matrix und signal series. All real data types are permitted. For the X component additional restrictions do apply.The values must have a constant non-zero spacing. If the argument is a list, then the function is executed for each element of the list and the result is also a list. |
||||||
Result |
Specifies whether positive or negative level crossings should be counted. The argument Result can have the following values:
If the argument is a list, then the first element in the list is taken. If this is also a list, then the process is repeated. |
Remarks
If Matrix was passed as a signal series, the result is a signal whose X component contains the class limits reconstructed from the class mid-points from Matrix. Otherwise, the result is a data series. When reconstructing the class limits, an equidistant class division is assumed.
Available in
Option Counting Procedures
Examples
LevelCrossingCount(MarkovMatrix, COUNT_PLUS) |
Counts the level crossings of the Markov matrix determined with the MarkovMatrix function. |
LevelCrossingCount(RainflowMatrix, COUNT_MINUS) |
Counts the level crossings of the Rainflow matrix determined with the RainflowMatrix function. |