Remove drift from signal

23 views (last 30 days)
captainmariah
captainmariah on 18 Jul 2016
Answered: Star Strider on 19 Jul 2016
How do I remove the drift from this signal? I want the "flat" lines in beginning and the end to be at the same level.
  7 Comments
Star Strider
Star Strider on 18 Jul 2016
There seems to be an integrated square-wave pulse in the centre half of the data. What are your data and how are you acquiring and initially processing them?
captainmariah
captainmariah on 19 Jul 2016
Edited: captainmariah on 19 Jul 2016
Image shows what I meant with baseline. Baseline 1 and Baseline 2 are suppose to be at same level, but I had a drift in my measurement (signal = intensity). I want to remove the drift without distorting (changing) the amplitude of my bump.
What I am interested of here is the amplitude of this "bump" and the response time.
Many thanks!

Sign in to comment.

Answers (1)

Star Strider
Star Strider on 19 Jul 2016
Use the detrend function.

Tags

Products

Community Treasure Hunt

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

Start Hunting!