Scilab 5.3.0
- Scilab Online Help
- Linear Algebra
- aff2ab
- balanc
- bdiag
- chfact
- chol
- chsolve
- classmarkov
- cmb_lin
- coff
- colcomp
- companion
- cond
- det
- eigenmarkov
- ereduc
- expm
- fstair
- fullrf
- fullrfk
- genmarkov
- givens
- glever
- gschur
- gspec
- hess
- householder
- im_inv
- inv
- kernel
- kroneck
- linsolve
- lsq
- lu
- lyap
- nlev
- orth
- pbig
- pencan
- penlaur
- pinv
- polar
- proj
- projspec
- psmall
- qr
- quaskro
- randpencil
- range
- rank
- rankqr
- rcond
- rowcomp
- rowshuff
- rref
- schur
- spaninter
- spanplus
- spantwo
- spec
- sqroot
- squeeze
- sva
- svd
- sylv
- trace
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
lyap
Lyapunov equation
Calling Sequence
[X]=lyap(A,C,'c') [X]=lyap(A,C,'d')
Arguments
- A, C
real square matrices,
C
must be symmetric
Description
X = lyap(A,C,flag)
solves the continuous time or
discrete time matrix Lyapunov matrix equation:
A'*X + X*A = C ( flag='c' ) A'*X*A - X = C ( flag='d' )
Note that a unique solution exist if and only if an eigenvalue of A
is
not an eigenvalue of -A
(flag='c'
) or 1 over an eigenvalue of A
(flag='d'
).
Examples
<< lu | Linear Algebra | nlev >> |