delete locally outliers with window size
1 view (last 30 days)
Show older comments
Hi, I have the indx vector and I need to remote locally outliers to delete the one I have into the circle, does someone know how?
0 Comments
Answers (1)
Bruno Luong
on 31 Aug 2020
Edited: Bruno Luong
on 31 Aug 2020
load('indx.mat');
% Change windows size and threshold eventually
midx = medfilt1(indx,3); % This requires signal processing tbx
indx(abs(midx-indx)>10) = NaN; % replace outlier with NaN
plot(indx)
0 Comments
See Also
Categories
Find more on Logical 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!