PS Vector Norm
R2026bLibraries:
Simscape /
Foundation Library /
Physical Signals /
Nonlinear Operators
Description
The PS Vector Norm block computes the Euclidean norm of a vector or matrix input physical signal:
where:
y is the physical signal at the output port O.
u is the physical signal at the input port I.
If the input signal is a matrix, then the block computes the column-wise vector norm.
Ports
Input
Output
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 Vector Norm"
Example: add_block("fl_lib/Physical Signals/Nonlinear Operators/PS Vector Norm","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2023b
See Also
PS Concatenate | PS Dot Product | PS Selector | PS Sum of Elements
