LabVIEW Control Design and Simulation Module

ctrbmx (MathScript RT Module Function)

  • Updated2023-03-14
  • 1 minute(s) read

ctrbmx (MathScript RT Module Function)

Owning Class: ssanals

Requires: Control Design and Simulation Module and MathScript RT Module

Syntax

Cb = ctrbmx(SysInSS)

Cb = ctrbmx(A, B)

Legacy Name: ctrb

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.

Details

The following table lists the support characteristics of this function.

Supported in the LabVIEW Run-Time Engine Yes
Supported on RT targets Yes
Suitable for bounded execution times on RT Not characterized

Examples

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

Related Topics

obsvstair
ctrbstairs
grammian