User`s guide
10 U s ing Identified Mo dels in Contr ol Design
Displaying Identified Models in the LTI Viewer
When the MATLAB softw are is installed, the System Identification Tool GUI
contains the To LTI Viewer rectangle. To plot mo de ls in the LTI Viewer,
drag and drop the corresponding icon to the To LTI Viewer rectangle in
the System Identification Tool GUI.
Alternatively, use the following syntax when working at the command line
to view a model in the LTI Viewer:
view(model)
Combining Model Objects
If you have the Control System Toolbox software, y ou can combine linear
model objects, such as
idarx, idgrey, idpoly, idproc,andidss model
objects, similar to the w ay you combine LTI objects.
For example, you can perform the following operations on identified models:
•
G1+G2
• G1*G2
• append(G 1,G2)
• feedback (G1,G2)
Note These operations lose covariance information.
Example – Using System Identification Toolbox
Software with Control System Toolbox Software
This example demonstrates how to use both System Identification Toolbox
commands and Control System Toolbox commands to create and plot models:
% Construct model using Control System Toolb ox
m0 = drss(4,3,2)
% Convert model to an ids s object
m0 = idss(m0,'NoiseVar',0.1*eye(3))
% Generate input data for simulating output
10-6