summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuraj Yerramilli2016-02-29 16:44:16 +0530
committerSuraj Yerramilli2016-02-29 16:44:16 +0530
commitaed12e7023359986b2f803f7cdb8ce523041e872 (patch)
tree4614c3e3409c18363a5c79527e6046088e46bb81
parent72529d245c99d5aff638cb820514ce1ce5b7bfe6 (diff)
downloadSysID-R-code-aed12e7023359986b2f803f7cdb8ce523041e872.tar.gz
SysID-R-code-aed12e7023359986b2f803f7cdb8ce523041e872.tar.bz2
SysID-R-code-aed12e7023359986b2f803f7cdb8ce523041e872.zip
updating the iv code to use the new sim structure
-rw-r--r--R/iv.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/iv.R b/R/iv.R
index ec74ebc..93fd52b 100644
--- a/R/iv.R
+++ b/R/iv.R
@@ -58,7 +58,7 @@ iv <- function(z,order=c(0,1,0),x=NULL){
if(is.null(x)){
# Initial Guess using ARX
mod_arx <- arx(z,order)
- x <- matrix(sim(mod_arx$sys,u,sigma=0))
+ x <- matrix(sim(mod_arx$sys,u))
}
ivcompute(y,u,x,na,nb,nk,n,N)