lyap(G)

NAME
lyap - Lyapunov equation

CALLING SEQUENCE
[X]=lyap(A,C,'c')
[X]=lyap(A,C,'d')

PARAMETERS

A, C
    : real square matrices, C must be symmetric

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

SEE ALSO
sylv