how to remove outliers of a data list
2 次查看(过去 30 天)
显示 更早的评论
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 ?
0 个评论
回答(1 个)
Adam
2017-2-21
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.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!