functioncontrollabilityMatrix
Calculate the controllability matrix [B, A*B, ..., A^(n-1)*B] of a transfer function
Information
Syntax
Q = TransferFunction.Analysis.controllabilityMatrix(tf, method)
Description
Calculate the controllability matrix
Q = [B, A*B, ..., A^(n-1)*B]
of the system corresponding state space system
der(x) = A*x + B*u;
y = C*x + D*u;
of a transfer function.
Example
TransferFunction s = Modelica_LinearSystems2.TransferFunction.s(); Modelica_LinearSystems2.TransferFunction tf=(s+1)/(s^2+s+1); Real Q[2,2]; algorithm Q := Modelica_LinearSystems2.TransferFunction.Analysis.controllabilityMatrix(tf); // Q = [0, 1, 1, -1]
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| TransferFunction | tf | Transfer function of a system |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[:,:] | om |