MatrixNorm
This block computes the norm of its input matrix.
Library
Activate/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 | Type of norm used in the computation. Default: 2-Norm. | String | '1-Norm' |
externalActivation | External activation | Specifies whether the block receives an external activation or inherits its activation through its regular input ports. When External Activation is selected, an additional activation port is added to the block. By default, external activation is not selected. | 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 |