Math

UnitConversions

InverseBlockConstraints

Construct inverse model by requiring that two inputs and two outputs are identical

Gain

Output the product of a gain value with the input signal

MatrixGain

Output the product of a gain matrix with the input signal vector

Sum

Output the sum of the elements of the input vector

Feedback

Output difference between commanded and feedback input

Add

Output the sum of the two inputs

Add3

Output the sum of the three inputs

Product

Output product of the two inputs

Division

Output first input divided by second input

Abs

Output the absolute value of the input

Sign

Output the sign of the input

Sqrt

Output the square root of the input (input >= 0 required)

Sin

Output the sine of the input

Cos

Output the cosine of the input

Tan

Output the tangent of the input

Asin

Output the arc sine of the input

Acos

Output the arc cosine of the input

Atan

Output the arc tangent of the input

Atan2

Output atan(u1/u2) of the inputs u1 and u2

Sinh

Output the hyperbolic sine of the input

Cosh

Output the hyperbolic cosine of the input

Tanh

Output the hyperbolic tangent of the input

Exp

Output the exponential (base e) of the input

Power

Output the power to a base of the input

Log

Output the logarithm (default base e) of the input (input > 0 required)

Log10

Output the base 10 logarithm of the input (input > 0 required)

WrapAngle

Wrap angle to interval ]-pi,pi] or [0,2*pi[

Mean

Calculate mean over period 1/f

RootMeanSquare

Calculate root mean square over period 1/f

Variance

Calculates the empirical variance of its input signal

Max

Pass through the largest signal

Min

Pass through the smallest signal