delete locally outliers with window size

1 vue (au cours des 30 derniers jours)
Alejandro Fernández
Alejandro Fernández le 31 Août 2020
Modifié(e) : Bruno Luong le 31 Août 2020
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?

Réponses (1)

Bruno Luong
Bruno Luong le 31 Août 2020
Modifié(e) : Bruno Luong le 31 Août 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)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits


Version

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by