remove outlier in large data
1 次查看(过去 30 天)
显示 更早的评论
my question how to find outlier in matlab explain by code and example ? and how many methods ? how to find outlier?
0 个评论
采纳的回答
Image Analyst
2014-1-11
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 个评论
Image Analyst
2014-1-15
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?
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Preprocessing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!