Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Control Systems > DiscreteLyapunovSolve >

DiscreteLyapunovSolve

DiscreteLyapunovSolve
finds the numeric solution of the discrete matrix equation .
DiscreteLyapunovSolve
solves .
DiscreteLyapunovSolve
solves .
DiscreteLyapunovSolve
solves .
Solve the discrete Lyapunov equation :
Solve the discrete Lyapunov equation :
In[1]:=
Click for copyable input
Out[1]=
Solve a discrete Lyapunov equation:
Verify the solution:
Solve an equation with symbolic matrices:
Solve for coefficient matrices having different dimensions:
Solve :
Solve :
Solve the discrete Lyapunov equation with symbolic coefficients:
Obtain the symbolic solution of :
Test the stability of by checking if the solution of is positive definite for a negative definite :
As expected the eigenvalues are inside the unit circle:
An unstable system:
Compute the controllability Gramian of a stable discrete-time system:
Compute the observability Gramian of a stable discrete-time system:
The equation , with a negative definite , yields a unique positive definite solution if and only if the eigenvalues of are within the unit circle:
An unstable system:
The indefinite sum is the solution to if is asymptotically stable:
Compute the infinite-horizon quadratic cost for the asymptotically stable system :
Compute the same using direct summation:
Solve the matrix equation :
LinearSolve gives the same solution:
Solve the equation using LinearSolve:
DiscreteLyapunovSolve gives the same solution:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF