How to counter drifting data.

3 visualizzazioni (ultimi 30 giorni)
Lizan
Lizan il 4 Apr 2015
Risposto: Star Strider il 4 Apr 2015
I have a dataset that is drifting a bit in time. Is there a way in matlab to counter it? I have data that changes amplitude at times but the overal line us drifting downwards or upwards. I like to remove the drift since it's not the important to my data.

Risposte (1)

Star Strider
Star Strider il 4 Apr 2015

I would use the detrend function. There is a similar function (by the same name) for ‘timeseries’ objects. There are a number of other options as well.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by