ctrb (Control Design and Simulation Module, MathScript Function)

LabView Control Design MathScript Functions

ctrb (Control Design and Simulation Module, MathScript Function)

Member of the ssanals class.

Syntax

Cb = ctrb(SysInSS)

Cb = ctrb(A, B)

Description

Calculates the controllability matrix of the SysInSS system model. You use the controllability matrix to determine if the given model is controllable. An n-th order model is controllable if the controllability matrix is full rank, meaning the rank of the controllability matrix equals n.

Examples

Inputs

Name Description
SysInSS Specifies a linear time-invariant (LTI) model in state-space form.
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 an empty matrix. B is a real matrix.

Outputs

Name Description
Cb Returns the controllability matrix of the SysInSS model. Cb is a real matrix.

Examples

SysInSS = ss([1, 1; -1, 2], [1, 2]', [2, 1], 0)Cb = ctrb(SysInSS)

Related Topics

obsvf
ctrbf
gram