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

Outputs

y

Absolute value of the input signal

double

sgn

Indication of the input signal sign

long

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