Description Usage Arguments Details Value Note See Also Examples
lyap(A, B)
solves the particular Lyapunov equation:
A*X+X*A' = -B
lyap(A, B, C)
solves the Sylvester equation
1 |
A |
An appropriately dimensioned matrix |
B |
An appropriately dimensioned matrix |
C |
An appropriately dimensioned matrix |
This function solves the lyapunov equation using an eigenvalue decomposition. The solution X is symmetric when B is symmetric.
The functions returns a matrix
WARNING: This function assumes that there are no repeated eigenvalues. If repeated eigenvalues exist, then the solution may be unreliable.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.