How to remove Spikes from a signal

18 次查看(过去 30 天)
Mani Teja
Mani Teja 2019-9-27
评论: Mani Teja 2019-9-27
Hello everyone,
I have a plot below which consists of two curves:
1. Red Curve - Original
2. Green Dotted Curve - Target
I want to filter out the spikes from the 'Original Curve' and replace it with suitable values such that the 'Original Curve' appears like the 'Target Curve'. In the plot below, I have achieved it using Interpolation. I want to find an easier way to do it. I even tried using 'medfilt1' function but I am not able to get rid of all the spikes. Any help would be highly appreciated.
Thanks !!
Unbenannt.PNG
  11 个评论
Ankit
Ankit 2019-9-27
Hi Mani,
I was just going through some options in MATLAB, go to know about the below options
I found one such example using filloutliers (see below link)
Regards
Ankit
Mani Teja
Mani Teja 2019-9-27
Hello ankit,
The 'filloutliers' function helped precisely.
thanks :D

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Electrophysiology 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by