MatrixDivision
This block performs the right or left matrix division.
Library
MatrixOperations
Description
The MatrixDivision block performs the right or left matrix division. It is a solution to x*B=A (right division or A/B) or A*x = B (left division or A\B). The first input is the A matrix, the second input is the B matrix, and the output is x. For the right division (A/B), x*B=A: if A is an M1-by-N matrix, B must be an M2-by-N where M1 and M2 can be different ; the output x is an M1-by-M2 matrix. For the left division (A\B), A*x=B: if A is an M-by-N1 matrix, B must be an M-by-N2 where N1 and N2 can be different ; the output x is an N1-by-N2 matrix.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
div_typ | Division type | Defines the Division type : Left (A\B) or Right (A/B) | Structure | |
div_typ/slash | A/B | Number | 0 | |
div_typ/backslash | A\B | Number | 0 | |
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 |
---|---|---|---|---|
A | explicit | input | 1 | |
B | explicit | input | 2 | |
A/B | explicit | output | 1 | |
Port 4 | activation | input | externalActivation |
Advanced Properties
Name | Value | Description |
---|---|---|
always active | no | |
direct-feedthrough | yes | |
zero-crossing | no | |
mode | no | |
continuous-time state | no | |
discrete-time state | no |