Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Русский

Change language to:
English - Français - 日本語 - Português -

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Linear Algebra > Matrix Pencil > lyap


Lyapunov equation

Calling Sequence



A, C

real square matrices, C must be symmetric


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').


A'*X + X*A -C
A'*X*A - X -C

See Also

  • sylv — Sylvester equation.
  • ctr_gram — controllability gramian
  • obs_gram — observability gramian
Report an issue
<< kroneck Matrix Pencil pencan >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:27:16 CEST 2015