QRFactorization

This block outputs two matrices Q and R, with row pivoting, from the QR factorization of an input matrix. If A is the input matrix then A*E=Q*R where E is a permutation matrix.

    QRFactorization

Library

MatrixOperations

Parameters

QRFactorization_0

NameLabelDescriptionData TypeValid Values

pqr

Provide the permutation matrix

If this paramater is turned ON, the block has one additional output port to provide the permutation matrix.

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

Port 1

explicit

input

1

Q

explicit

output

1

R

explicit

output

2

Port 4

explicit

output

pqr

Port 5

activation

input

externalActivation