Abs
This block implements the absolute value function.
Library
MathOperations
Description
Abs block computes the absolute value of the input.
Inputs can be either real or complex.
Inputs are either scalar, or vector or matrix.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
zcross | Zero-crossing | Select the check box to detect zero crossings. | Scalar | 0 |
overflow | Do on overflow (for integers) | String | 'Nothing' | |
externalActivation | External activation | This parameter defines if the block receives an external activation or inherits. When External Activation is used, a additional activation port is added to the block. default is OFF. | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | output | 1 | |
Port 2 | explicit | input | 1 | |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | yes | |
mode | yes | |
continuous-time state | no | |
discrete-time state | no |