<< lsim Control System functions minreal >>

lyap


Continuous Lyapunov equation solution.


Syntax


X = lyap(A, Q)

Input argument


A

real matrix

Q

real matrix

Output argument


X

matrix: solution of the Lyapunov equation.

Description


X = lyap(A, Q) resolves the Lyapunov equation.

Example


A = [10, 20; -30, -40];
Q = [30, 10; 10, 10];
X = lyap (A, Q)

See also


dlyap.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< lsim Control System functions minreal >>