Absolute value

signal.abs

Outputs the absolute value of the input.

Ports

NameDomainDirection
usignalin
ysignalout

Equations

y = abs(u)