Removing outliers in data
Show older comments
As shown in the attached image, there is an outlier that I want to remove. I am not able to hard code it out. I have tried a few different filters including: [b,a] = butter(2, .03); filtered_theta = filtfilt(b,a,diff_theta) plot(t_position,diff_theta) hold on plot(t_position,filtered_theta) but that smooths my data too much.
Accepted Answer
More Answers (0)
Categories
Find more on Filter Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!