Clear Filters
Clear Filters

following up on a previous quesiton regarding filtering large narrow spikes from eeg signal (noise)

1 view (last 30 days)
Hi,
following up on my previous question, in which i stated that i need to remove the noise that is the really long narrow spikes in an input that looks like this :
i was given this answer :
'' 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. ''
but how do i define what is the correct 'MinpeakPromincce' or 'MinPeakHeight'? since i need my code to run generally and not just on my specific data .
thanks.

Answers (0)

Categories

Find more on Frequently-used Algorithms in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!