MatrixDivision

This block performs the right or left matrix division.

    MatrixDivision

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

MatrixDivision_0

NameLabelDescriptionData TypeValid Values

div_typ

Division type

Defines the Division type : Left (A\B) or Right (A/B)

Structure

div_typ/slash

A/B

Number

0
1

div_typ/backslash

A\B

Number

0
1

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
1

Ports

NameTypeDescriptionIO TypeNumber

A

explicit

input

1

B

explicit

input

2

A/B

explicit

output

1

Port 4

activation

input

externalActivation

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

yes

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no