diff options
author | Suraj Yerramilli | 2016-02-27 15:57:37 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2016-02-27 15:57:37 +0530 |
commit | d1663d488782fcc9697244be073c10046fa921bc (patch) | |
tree | f1dff53917a135b044268b5cbedd3782677a3578 | |
parent | 1a349f52502044410b9523ecbc4762571a9267f8 (diff) | |
download | SysID-R-code-d1663d488782fcc9697244be073c10046fa921bc.tar.gz SysID-R-code-d1663d488782fcc9697244be073c10046fa921bc.tar.bz2 SysID-R-code-d1663d488782fcc9697244be073c10046fa921bc.zip |
minor corrections
-rw-r--r-- | R/sim.R | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,7 +49,7 @@ sim.idpoly <- function(model,input,addNoise = F,innov=NULL,seed=NULL){ ek <- innov } else{ if(!is.null(seed)) set.seed(seed) - ek <- rnorm(n,sd=model$noiseVar) + ek <- rnorm(n,sd=sqrt(model$noiseVar)) } den1 <- as.numeric(polynomial(model$A)*polynomial(model$D)) filt1 <- Arma(b=model$C,a=den1) |