remove outlier in large data
조회 수: 3 (최근 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에서 Random Number Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!