summaryrefslogtreecommitdiff
path: root/R/test/test.R
diff options
context:
space:
mode:
authorashwinrcs2015-10-12 16:00:12 +0530
committerashwinrcs2015-10-12 16:15:22 +0530
commit48ceccf211ee2706f09f54ce232e0c03f8087263 (patch)
tree40a240200e68be9d6f70d12628c405b98068a8cb /R/test/test.R
parent69813446dfe77003c88773da6bc397a1658229e1 (diff)
downloadSysID-R-code-48ceccf211ee2706f09f54ce232e0c03f8087263.tar.gz
SysID-R-code-48ceccf211ee2706f09f54ce232e0c03f8087263.tar.bz2
SysID-R-code-48ceccf211ee2706f09f54ce232e0c03f8087263.zip
Function idinput including rgs and rbs codes
Diffstat (limited to 'R/test/test.R')
-rw-r--r--R/test/test.R7
1 files changed, 7 insertions, 0 deletions
diff --git a/R/test/test.R b/R/test/test.R
new file mode 100644
index 0000000..8a710dd
--- /dev/null
+++ b/R/test/test.R
@@ -0,0 +1,7 @@
+m<-idpoly(A=c(1,-1.5,0.7),B=c(1,0.5),ioDelay=1)
+u<-rnorm(1000)
+y<-sim(m,u,sigma=0.1)
+z<-idframe(y,u)
+outputNames(z)<-"y"
+inputNames(z)<-"u"
+plot(z) \ No newline at end of file