How to make transfer function if you know input/output data
Show older comments
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
More Answers (1)
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);
1 Comment
Azzi Abdelmalek
on 2 Sep 2012
this can only be used with linear time invariant system
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!