TF = isoutlier(A,method) on older MATLAB version (2011b) ?
이전 댓글 표시
Hello, I was wondering if there is any way of using "isoutlier" function in older version of matlab say MATLAB 2011b or MATLAB 2016a ??? This would reduce my working time to program for "Outlier identification" Thank You.
-Aditya Deshmukh
답변 (2개)
Star Strider
2017년 8월 4일
0 개 추천
For R2016a, if you have the Signal Processing Toolbox, you can use the hampel (link) function, introduced in R2015b.
R.A. Alemán
2018년 5월 4일
편집: R.A. Alemán
2018년 5월 4일
This is how you could implement it for previous Matlab versions:
function [av]=Isoutlier(FF)
mk=median(FF);
M_d=mad(FF,1);
c=-1/(sqrt(2)*erfcinv(3/2));
smad=c*M_d;
tsmad=3*smad
av=(abs(FF-mk)>=tsmad);
end
댓글 수: 5
yang-En Hsiao
2019년 4월 7일
What is the FF? can it be a value? or vector?
Walter Roberson
2019년 4월 7일
FF should be a vector.
Anand Parikh
2019년 12월 6일
Can you please explain this function? What is the threshold to identify outliers and how variable 'c' is defiened ?
Alexander Lyapin
2022년 2월 8일
What is 'mad' function?
Walter Roberson
2022년 2월 8일
I wonder if it was "mean absolute deviation"?
카테고리
도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!