Effacer les filtres
Effacer les filtres

How to use a model generated from System Identification Toolbox in my work space?

1 vue (au cours des 30 derniers jours)
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.

Réponse acceptée

Rajiv Singh
Rajiv Singh le 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)
  • 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
[y,t] =lsim(obj, input, time)
See idtf documentation reference page for information on supported properties and methods of idtf object.
  1 commentaire
Shaoyang Qu
Shaoyang Qu le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2014a

Community Treasure Hunt

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

Start Hunting!

Translated by