MatrixNorm
This block computes the norm of its input matrix.
Library
MatrixOperations
Description
The MatrixNorm block can compute 3 types of norm of input matrix.
1 norm: sum of the absolute values of vector, or maximum absolute column sum of the matrix.
2-norm: the length of vector, or largest singular value of matrix.
Inf-norm: largest absolute value of vector, or maximum absolute row sum of the matrix.
Frobenius-norm: (sometimes also called the Euclidean norm) defined as the square root of the sum of the squares of absolute value of its elements.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
normtype | Norm type | String | '1-Norm' | |
externalActivation | External activation | Number | 0 |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
Port 1 | explicit | input | 1 | |
Port 2 | explicit | output | 1 | |
Port 3 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | standard mode activated |
direct-feedthrough | yes | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |