ABS_ – Absolute value

Block SymbolLicensing group: STANDARD
PIC

Function Description
The ABS_ block computes the absolute value of the analog input signal u. The output y is equal to the absolute value of the input and the sgn output denotes the sign of the input signal.

sgn = 1, for u < 0, 0, for u = 0, 1, for u > 0.

Input

u

Analog input of the block

Double (F64)

Outputs

y

Absolute value of the input signal

Double (F64)

sgn

Indication of the input signal sign

Long (I32)

2020 © REX Controls s.r.o., www.rexygen.com