How to remove outlier by 2.5 standard deviations from the mean?
14 ビュー (過去 30 日間)
古いコメントを表示
I'm really new to Matlab, and hope someone can help me!
I tried to use the function 'filloutliers' to remove and replace the outliers, but i want to detect outliers by 2.5 standard deviation instead of 3 (default).
Is it possible to do that by filloutliers, or should i use other functions?
i saw someone used plot to remove outliers, but i don't know how.
Looking forward to be answered, thanks in advance!
0 件のコメント
採用された回答
Adam
2020 年 3 月 2 日
Looking at the help in
doc filloutliers
this should work:
filloutliers(A,'center','mean','ThresholdFactor', 2.5)
replacing A with whatever your array is called.
2 件のコメント
Asger Emil Joergensen
2021 年 5 月 21 日
Hello
What replaces the oulier in this case? The computed mean value?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Curve Fitting Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!