Removing long duration drift
Apr 19, 2017
04:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 19, 2017
04:12 PM
Removing long duration drift
Can anyone help me how to remove the drift (long duration) from the cyclic data as below? If you have a function for this one, it will be greatly appreciated.
Regards
Labels:
- Labels:
-
Statistics_Analysis
1 REPLY 1
Apr 19, 2017
05:38 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apr 19, 2017
05:38 PM
Essentially you need a (digital) high-pass filter, something like:
This filter takes X as the input data (array) and tau as a suitably chosen constant. In your case you'll have to try out what gives you best results.
To show its operation, suppose this is your input data:
Then filtering does this:
Success!
Luc
