How to make transfer function if you know input/output data

28 vues (au cours des 30 derniers jours)
Leon
Leon le 2 Sep 2012
Hello!
So here's the thing, I have 3 matrices, the first one contains input data to the system, the second contains output data of the system and the third one has time data.
System is SISO.
How can I get transfer function out of this data in Laplace space
{F(s)=O(s)/I(s)} O(s)=output function I(s)=input function
And identification with methods like ARX, ARMAX, RARX,..... is not allowed.
Thank you!
L.

Réponse acceptée

Rajiv Singh
Rajiv Singh le 7 Sep 2012
Modifié(e) : Rajiv Singh le 7 Sep 2012

Plus de réponses (1)

Azzi Abdelmalek
Azzi Abdelmalek le 2 Sep 2012
%try this function
[N,D]=mcar(u,y,n,k1,k2) ; %N,D disret transfer function
ts=t(2)-t(1) %your sample time
modeld=tf(N,D,ts)
modelc=d2c(modeld) %contiuous transfer function
[Nc,Dc]=tfdata(modelc);
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 2 Sep 2012
this can only be used with linear time invariant system

Connectez-vous pour commenter.

Catégories

En savoir plus sur Linear Model Identification dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by