summaryrefslogtreecommitdiff
path: root/R/idinput.R
diff options
context:
space:
mode:
authorSuraj Yerramilli2016-02-09 14:44:08 +0530
committerSuraj Yerramilli2016-02-09 14:44:08 +0530
commit265e592671ca87f59daa6e98299dcdf508508f7c (patch)
tree4f7da6cd53231fd37b00ddc44ab579fa2c9f7360 /R/idinput.R
parentaee029172538dd69e1982d9be4f679aac11c4f58 (diff)
downloadSysID-R-code-265e592671ca87f59daa6e98299dcdf508508f7c.tar.gz
SysID-R-code-265e592671ca87f59daa6e98299dcdf508508f7c.tar.bz2
SysID-R-code-265e592671ca87f59daa6e98299dcdf508508f7c.zip
corrected the low pass filter part
Diffstat (limited to 'R/idinput.R')
-rw-r--r--R/idinput.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/idinput.R b/R/idinput.R
index 043ef48..0f279c0 100644
--- a/R/idinput.R
+++ b/R/idinput.R
@@ -46,7 +46,7 @@ rbs <- function(n,band,levels){
butter_filt <- function(x,band){
filt <- T; type <- "pass"
- if(band[1]==0){
+ if(band[1]<=2e-3){
if(band[2]==1){
filt <- F
} else{