lyap (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

lyap (Control Design and Simulation Module, MathScript Function)

Member of the cdsolvers class.

Syntax

X = lyap(A, Q)

X = lyap(A, B, Q)

Description

Calculates the matrix X that solves the general form of the following Lyapunov equation:
AX+XB = -Q.

Examples

Inputs

Name Description
A Specifies an n x n state matrix, where n is the number of states. The default is an empty matrix. A is a real matrix.
B Specifies an n x m input matrix, where m is the number of inputs. The default is A'. B is a real matrix.
Q Specifies a real matrix.

Outputs

Name Description
X Returns the solution to the continuous Lyapunov equation. X is a real matrix.

Examples

A = [1, 1; 0, 2]
Q = [2, 0; 0, 2]
X = lyap(A, Q)

Related Topics

dlyap