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!