Owning Class: linalgebra
Requires: MathScript RT Module
d = schur(a)
d = schur(a, option)
[c, d] = schur(a)
[c, d] = schur(a, option)
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.
| Name | Description | ||||
|---|---|---|---|---|---|
| a | Specifies a real or complex square matrix. | ||||
| option | Specifies the type of decomposition to generate. option is a string that accepts the following values.
|
| 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. |
A = [1, 2, 3; 4, 5, 6; 7, 8, 9]
[C, D] = schur(A)