- Extract out numerical values of numerator and denominator polynomials using the "Numerator" and "Denominator" properties, as in B = obj.Numerator;
- Use LSIM method for time domain simulation as in
How to use a model generated from System Identification Toolbox in my work space?
3 views (last 30 days)
Show older comments
Arseniy Sleptsov
on 2 Sep 2019
Commented: Shaoyang Qu
on 25 Mar 2021
Hello,
I generated transfer functions for 2 inputs and 1 output using System Identification Toolbox. Then I converted to my workspace: now I have 1x2 idtf file in my workspace. How can I use next this? Basically I want to handle to my model new inputs to generate outputs.
0 Comments
Accepted Answer
Rajiv Singh
on 3 Sep 2019
The result of estimation is an object of IDTF class. It has properties containing numerical values of numerator and denominator. It has methods for performing simulation (sim, lsim) and analysis (step, bode, pzmap etc)
[y,t] =lsim(obj, input, time)
See idtf documentation reference page for information on supported properties and methods of idtf object.
1 Comment
Shaoyang Qu
on 25 Mar 2021
Dear Rajiv,
I find the 'lsim' results can be very different from the model output in the system ID app. How can I set the focus to simulation? I'm using the 'transfer function model' method in the app.
More Answers (0)
See Also
Categories
Find more on Transfer Function Models 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!