how to remove jumps?

17 views (last 30 days)
Giuseppe Parisi
Giuseppe Parisi on 28 Oct 2022
Commented: Image Analyst on 29 Oct 2022
Hello everyone,
do you know how to remove jumps in an easy way?
I have a recording of an eeg but for some problem in the A/D convertion I have some jumps that I cannot remove. I've tried to apply a threshold but it's not good if we have channels with different thresholds. do you know if there is a function that do it automatically?
you can find a pic attached below.
Thanks in advance for every answer.
  1 Comment
Image Analyst
Image Analyst on 29 Oct 2022
Unfortunately you forgot to attach your signals. All I can say is to look at diff
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

Sign in to comment.

Accepted Answer

J. Alex Lee
J. Alex Lee on 28 Oct 2022
Are you looking at the diff() of the signals? Maybe you can find the locations of the jumps as where the largest absolute value of the diff of the signal is?

More Answers (0)

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!