how to remove outliers of a data list

1 visualización (últimos 30 días)
farfar
farfar el 21 de Feb. de 2017
Comentada: farfar el 21 de Feb. de 2017
Hello everyone I have a set of data and I am trying to remove the outlires. I used to do it by excel with finding Q1,.. and then plot a box and find outliers, but I have a big set of data and no longer able to do that. does anyone know how I can remove outliers in matlab using quartiles? or any other statistical way of removing outliers ?

Respuestas (1)

Adam
Adam el 21 de Feb. de 2017
doc prctile
if you have the Statistics toolbox.
If not it is easy enough to calculate percentiles in your own function. What you choose to do with them after that is up to you really, but with indexing you can easily use a percentile value to filter out values outside of a range.
  1 comentario
farfar
farfar el 21 de Feb. de 2017
Thank you Adam doc prctile brought up matlab help on how to calculate prctile, which was helpful but I still dont know how to remove outliers based on these prctile automatically?

Iniciar sesión para comentar.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by