diff options
author | Suraj Yerramilli | 2016-03-18 16:16:05 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2016-03-18 16:16:05 +0530 |
commit | 01be2f6dd25d64449413d360422b3ddd0c354daa (patch) | |
tree | c387de4056dd927256f942b3f3380cf529b1fcd3 /R/estUtil.R | |
parent | 5bf53d5bae290b2c7c00ac611a6c9a5b066d093f (diff) | |
download | SysID-R-code-01be2f6dd25d64449413d360422b3ddd0c354daa.tar.gz SysID-R-code-01be2f6dd25d64449413d360422b3ddd0c354daa.tar.bz2 SysID-R-code-01be2f6dd25d64449413d360422b3ddd0c354daa.zip |
minor changes
Diffstat (limited to 'R/estUtil.R')
-rw-r--r-- | R/estUtil.R | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/R/estUtil.R b/R/estUtil.R index 043eadc..084760c 100644 --- a/R/estUtil.R +++ b/R/estUtil.R @@ -224,4 +224,9 @@ checkInitSys <- function(init_sys){ } leftPadZeros <- function(x,n) c(rep(0,n),x) -padZeros <- function(x,n) c(rep(0,n),x,rep(0,n))
\ No newline at end of file +padZeros <- function(x,n) c(rep(0,n),x,rep(0,n)) + +integfilter <- function(x){ + as.numeric(stats::filter(x,filter=c(1,-1),"convolution",sides = 1, + circular = T)) +}
\ No newline at end of file |