User`s guide

Using Models with Control System Toolbox™ Software
u = iddata([], idinput([800 2 ],'rbs'));
% Simulate model output using System Identifi cati on Toolbox
% with added noise
y = sim(m0,u,'noise')
% Form an input-output iddata object
Data = [y u];
% Estimate state-space model from the generat ed data
% using System Identification Toolbox command pem
m = pem(Data(1:400))
% Convert the model to a Control System Toolbox transfer fu nction
tf(m)
% Plot model output for model m using System Identification Toolbox
compare(Data(401:800),m)
% Display identified model m in LTI Viewer
view(m)
10-7