delete locally outliers with window size
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Bruno Luong
2020-8-31
编辑:Bruno Luong
2020-8-31
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!