PS Abs
R2026bOutput absolute value of input physical signal
Libraries:
Simscape /
Foundation Library /
Physical Signals /
Nonlinear Operators
Description
The PS Abs block returns the absolute value of the input physical signal:
where
| I | Physical signal at the input port |
| O | Physical signal at the output port |
Untyped physical ports facilitate unit propagation. The output signal has the same physical unit as the input signal.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Physical Signals/Nonlinear Operators/PS Abs"
Example: add_block("fl_lib/Physical Signals/Nonlinear Operators/PS Abs","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
