From 1a349f52502044410b9523ecbc4762571a9267f8 Mon Sep 17 00:00:00 2001 From: Suraj Yerramilli Date: Sat, 27 Feb 2016 14:56:25 +0530 Subject: Corrections in sim example --- man/sim.Rd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'man') diff --git a/man/sim.Rd b/man/sim.Rd index a4dfe97..9aa1d11 100644 --- a/man/sim.Rd +++ b/man/sim.Rd @@ -33,8 +33,9 @@ include support for MIMO systems. } \examples{ # ARX Model -u <- rnorm(200,sd=1) -model <- idpoly(A=c(1,-1.5,0.7),B=c(0.8,-0.25),ioDelay=1) +u <- idinput(300,"rgs") +model <- idpoly(A=c(1,-1.5,0.7),B=c(0.8,-0.25),ioDelay=1, +noiseVar=0.1) y <- sim(model,u,addNoise=T) } -- cgit