FUNCTION REFERENCE

ctrb

Build the controllability matrix.

Build the controllability matrix.

Syntax

T = ctrb(A,B)

Syntax

T = ctrb(sys)

Returns [B A*B ... A^(n-1)*B]. rank(T) estimates controllability; powers can be ill-conditioned, so interpret numerical rank with care. LTI models are converted to state space.

Example

A=[0 1;0 0]; B=[0;1]; T=ctrb(A,B); rank(T)

Example

T=ctrb(ss([0 1;0 0],[0;1],[1 0],0));

Differences from MATLAB: finite real double matrices only; at most 128 states, 128 inputs and 1048576 output entries. No descriptor models.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.