Clear Filters
Clear Filters

fInding the tresholhd of signal noise(really long narrow spikes).

3 views (last 30 days)
Hi,
i have an input EEG signal , i need to filter the data , which means that i need to remove the noise that is the really long narrow spikes, this is how the signal looks:
as you can see there are almost 12 events (large narrow spikes) - and by using the findpeaks function i get almost 2000 pks, which means that i get also the low maximum points, how can i find only the maximum/minimum points of the large spikes or atleast how do find the treshold of for example the lowest line and then plot what's under it?
thanks in advance:)

Accepted Answer

Star Strider
Star Strider on 17 Aug 2020
The findpeaks function has a number of name-value pair agruments that can customise its behaviour to give the desired results. One option here is to use 'MinPeakProminencce', and, 'MinPeakHeight' alone or together.
Use findpeaks twice, once on the data vector to get the positive peaks, and once on the negative of the data vector to get the negative peaks. Make the appropriate corrections to get the actual peak amplitudes of the negative peaks, if necessary.
  7 Comments
rami zaboura
rami zaboura on 18 Aug 2020
Edited: rami zaboura on 18 Aug 2020
i have actually tried the rmoutliers function and it's giving some nice results, can it be used in my case? (removing noisy eeg signal)
Star Strider
Star Strider on 18 Aug 2020
You will have to make that determination, since only you have access to all the signals you will be analysing.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!