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

- example
`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`

Was this topic helpful?