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

1 次查看(过去 30 天)
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.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Frequently-used Algorithms 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by