Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Solve Sylvester equation *AX + XB = C* for *X*

`X = sylvester(A,B,C)`

returns
the solution, `X`

= sylvester(`A,B,C`

)`X`

, to the Sylvester equation.

Input `A`

is an m-by-m matrix, input `B`

is
an n-by-n matrix, and both `C`

and `X`

are
m-by-n matrices.

`ctranspose`

| `eig`

| `kron`

| `mldivide`

| `mtimes`