remove outlier in large data
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
azar mzory
le 10 Jan 2014
Modifié(e) : azar mzory
le 13 Avr 2014
my question how to find outlier in matlab explain by code and example ? and how many methods ? how to find outlier?
0 commentaires
Réponse acceptée
Image Analyst
le 11 Jan 2014
Try this:
% data = the variable name of your array
stdDev = std(data(:)) % Compute standard deviation
meanValue = mean(data(:)) % Compute mean
zFactor = 1.5; % or whatever you want.
% Create a binary map of where outliers live.
outliers = abs(data-meanValue) > (zFactor * stdDev);
4 commentaires
Image Analyst
le 15 Jan 2014
I don't know how to define outliers in text (words). For example, in this comment that you're reading now, which of the words are "outliers" and why?
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Preprocessing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!