summaryrefslogtreecommitdiff
path: root/armaX.sci
diff options
context:
space:
mode:
Diffstat (limited to 'armaX.sci')
-rw-r--r--armaX.sci4
1 files 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])