- 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?
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Rajiv Singh
2019-9-3
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 个评论
Shaoyang Qu
2021-3-25
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.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Transfer Function Models 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!