How can i remove noise from graph with slope wave
1 view (last 30 days)
Show older comments
Hey,
i have got a graph that looked like the figure below.
I want to filtered it by using matlab but so far i didn't succseed beacuse there is a noise that can be in values of +5000 and can also be in values of 30
In addition to that could be noise in -5 but in the begging of the graph.
Any suggstions ?
Thanks!

0 Comments
Answers (2)
KALYAN ACHARJYA
on 6 Dec 2020
if you have certain threshold value, you can remove that from y data.
threshold_data=...??
idx=find(y>threshold_data)
y(idx)=[];
x(idx)=[];
%plot the data
0 Comments
Image Analyst
on 6 Dec 2020
Did you try calling rmoutlier() before calling polyfit() or however you did the "filter"?
If you need more help, attach your data and code to read it in.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!