SVDdecomposition

It computes the economy sized SVD of the M-by-N input matrix A by finding U, S and V such that A=U*S*V'. The output S is a vector composed of the singular values. If you want, you can have two other outputs: the unitary matrices U and V. In this case, outputs are U, Singular value and V.

    SVDdecomposition

Library

Activate/MatrixOperations

Description

The SVDdecomposition block computes the economy sized SVD of the M-by-N input matrix A by finding U,S and V such that A=U*S*V'.

The input matrix can be either of type Double or type Complex.

Upon the value of the decomposition type parameter the output is either a vector composed of the singular values, three outputs are computed: a diagonal matrix S composed of the singular values and the unitary matrices U and V.

The input matrix can be either of type Double or type Complex.

Parameters

SVDdecomposition_0

NameLabelDescriptionData TypeValid Values

decomptyp

Output for U and V matrices

Defines the outputs. By default, the output is a vector S, composed of the singular values.Turning on this parameter, the first output is a diagonal matrix S composed of the singular values and the other two outputs are the unitary matrices U and V.

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

S

explicit

output

1

Port 3

explicit

output

2*decomptyp

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