Table of Contents

Advertisement

ETAS
Operators
- ~ !
**
* / %
+ -
< > <= >= =
BIT_AND &
BIT_XOR ^
BIT_OR |
AND &&
XOR ^^
OR ||
?:
,
For details of the operators, see the toolbox in the calculated signals editor.
4.4.3

Reduction

A reduction function is a function that takes a sequence of values and cal-
culates a single result value, the reduction.
reduction = Reduce(value[1], ..., value[n])
Examples:
The sum of all values:
l
reduction = value[1] + ... + value[n]
The number of samples:
l
reduction = n
The average of all values:
l
reduction = (value[1] + ... + value[n]) / n
A reduction behavior is a calculation operation, that internally uses a reduction
function.
Example:
The rolling average operation applies the average at every sample position to
the last length samples of the input to determine a new output sample.
output[i] = Average(input[i-length+1], ..., input[i])
Here the reduction function "average" is used by the reduction behavior
"rolling".
MDA V8.6 – User Guide
Arguments
Evaluation
unary
Right-to-left
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
binary
Left-to-right
ternary
Right-to-left
binary
Left-to-right
4 Calculated Signals
73

Advertisement

Table of Contents
loading

Table of Contents