How to use the under knees code of state space model "ident" toolbox in mfile

1 view (last 30 days)
Hi, all,
I am currently using "ident" toolbox. I got a good fitting result by using state space model from the GUI. However, I want to lunch the system identification from mfile. How can I call the model that I used in ident GUI? Or How can I get the under knees code of the state space model in ident toolbox that I can use in command line?
I tried N4sid, but I don't know the parameters or other setting that I used in ident GUI. The results from N4sid are much worse than that from ident GUI.
Can anybody help me to use the ident state space model in mfile?
Thanks very much.
Xiwang Li

Accepted Answer

Rajiv Singh
Rajiv Singh on 8 Jul 2013
Double click on estimated model icon. A window containing information on the model is shown. This window offers commands that will reproduce the GUI results.
  1 Comment
Xiwang
Xiwang on 30 Aug 2013
Thanks very much, Rajiv. I tried your suggestion. I got the commands from the GUI " % Import Motorized Camera Opt.N4Horizon = [14 19 19]; n4s2 = n4sid(Motorized Camera,2, 'Ts',0)"
However, the results I got from the code is different to that from the GUI. Is there any other setting or parameters that I need to modify? Thanks very much.
Xiwang Li

Sign in to comment.

More Answers (0)

Categories

Find more on Linear Model Identification in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!