Getting Started | ![]() ![]() |
LTI Objects
For convenience, the Control System Toolbox uses custom data structures called LTI objects to store model-related data. For example, the variable sys_dc
created for the DC motor example is called an SS object. There are also TF, ZPK, and FRD objects for transfer function, zero/pole/gain, and frequency data response models respectively. The four LTI objects encapsulate the model data and enable you to manipulate linear systems as single entities rather than as collections of vectors or matrices.
To see what LTI objects contain, use the get
command. This code describes the contents of sys_dc
from the DC motor example.
get(sys_dc) a: [2x2 double] b: [2x1 double] c: [0 1] d: 0 e: [] StateName: {2x1 cell} Ts: 0 ioDelay: 0 InputDelay: 0 OutputDelay: 0 InputName: {''} OutputName: {''} InputGroup: {0x2 cell} OutputGroup: {0x2 cell} Notes: {} UserData: []
You can manipulate the data contained in LTI objects using the set
command; see the Control System Toolbox online reference pages for descriptions of set
and get
.
For more information on LTI properties, type ltiprops
at the MATLAB prompt. For a complete description of LTI objects, see Creating and Manipulating Models online under the Control System Toolbox.
![]() | Adding Delays to Linear Models | MIMO Models | ![]() |