Syntax

d = schur(a)

d = schur(a, option)

[c, d] = schur(a)

[c, d] = schur(a, option)

Description

Returns the Schur decomposition of a square matrix. The Schur decomposition of a square matrix A is defined by A = CDCH, where D is a matrix in Schur form, and CH is the conjugate transpose of matrix C.

Inputs

Specifies the type of decomposition to generate. option is a string that accepts the following values.

'complex'

Generates a complex decomposition of a.

'real'

Generates a real decomposition of a. LabVIEW places the real eigenvalues and complex conjugate eigenpairs on the 1-by-1 and 2-by-2 diagonal blocks of d.

Outputs

Name

Description

d

Returns a block upper triangular matrix in real Schur form whose elements on the main diagonal are all 1-by-1 or 2-by-2 blocks. If a is complex, d returns an upper triangular matrix in complex Schur form.

c

Returns an orthogonal matrix of the same size as a. If a is complex, c returns a unitary matrix.