How to remove Spikes from a signal
조회 수: 18 (최근 30일)
이전 댓글 표시
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](https://www.mathworks.com/matlabcentral/answers/uploaded_files/240055/Unbenannt.png)
댓글 수: 11
Ankit
2019년 9월 27일
Hi Mani,
I was just going through some options in MATLAB, go to know about the below options
Clean Outlier Data: https://de.mathworks.com/help/matlab/ref/cleanoutlierdata.html
I found one such example using filloutliers (see below link)
Regards
Ankit
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Electrophysiology에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!