cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Removing long duration drift

ksharma-2
2-Explorer

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

data with long duration drift.JPG

1 REPLY 1
LucMeekes
23-Emerald III
(To:ksharma-2)

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

Announcements

Top Tags