diff options
Diffstat (limited to 'armaX.sci')
-rw-r--r-- | armaX.sci | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -28,7 +28,7 @@ function sys = armaX(varargin) // Examples // u = idinput(1024,'PRBS',[0 1/20],[-1 1]) // a = [1 0.5];b = [0 2 3]; -// model = iddata(a,b,'Ts',0.1) +// model = idpoly(a,b,'Ts',0.1) // y = sim(u,model) + rand(length(u),1) // plantData = iddata(y,u,0.1) // sys = armaX(plantData,[2,2,1]) @@ -36,7 +36,7 @@ function sys = armaX(varargin) // Examples // u = idinput(1024,'PRBS',[0 1/20],[-1 1]) // a = [1 0.5];b = [0 2 3]; -// model = iddata(a,b,'Ts',0.1) +// model = idpoly(a,b,'Ts',0.1) // y = sim(u,model) + rand(length(u),1) // plantData = [y,u] // sys = armaX(plantData,[2,2,1]) |