From 11ee9c829fe88301c69b731cdf9fe7957d0fa68c Mon Sep 17 00:00:00 2001 From: priyakedia Date: Tue, 31 Jul 2018 16:26:53 +0530 Subject: armax modified --- armaX.sci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/armaX.sci b/armaX.sci index e4ad412..c612fe3 100644 --- a/armaX.sci +++ b/armaX.sci @@ -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]) -- cgit