How to remove outlier by 2.5 standard deviations from the mean?

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!

 Respuesta aceptada

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 comentarios

Hello
What replaces the oulier in this case? The computed mean value?

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Productos

Versión

R2017a

Etiquetas

Preguntada:

el 2 de Mzo. de 2020

Comentada:

el 21 de Mayo de 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by