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

124 views (last 30 days)
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.

Accepted Answer

Rajiv Singh
Rajiv Singh on 7 Sep 2012
Edited: Rajiv Singh on 7 Sep 2012

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 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);

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!