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!