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

78 次查看(过去 30 天)
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.

采纳的回答

Rajiv Singh
Rajiv Singh 2012-9-7
编辑:Rajiv Singh 2012-9-7

更多回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2012-9-2
%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);

Community Treasure Hunt

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

Start Hunting!

Translated by