Specifications
Construct Linear Time Invariant (LTI) Models
2-15
Use setmpcsignals to make type definition. For example
CSTR = setmpcsignals(CSTR, 'UD', 2, 'UO', 2);
sets InputGroup and OutputGroup to the same values as in the previous example. The
CSTR display would then include the following lines:
Input groups:
Name Channels
Unmeasured 2
Manipulated 1
Output groups:
Name Channels
Unmeasured 2
Measured 1
Notice that setmpcsignals sets unspecified inputs to Manipulated and unspecified
outputs to Measured.
LTI Model Characteristics
Control System Toolbox software provides functions for analyzing LTI models. Some
of the more commonly used are listed below. Type the example code at the MATLAB
prompt to see how they work for the CSTR example.
Example Intended Result
dcgain(CSTR) Calculate gain matrix for the CSTR model's
input/output pairs.
impulse(CSTR) Graph CSTR model's unit-impulse response.
linearSystemAnalyzer(CSTR) Open the Linear System Analyzer with the
CSTR model loaded. You can then display
model characteristics by making menu
selections.
pole(CSTR) Calculate CSTR model's poles (to check
stability, etc.).
step(CSTR) Graph CSTR model's unit-step response.