How do you remove outliers in Matlab?
Remove the outlier using the default detection method "median" . [B,TFrm,TFoutlier,L,U,C] = rmoutliers(A); Plot the original data, the data with outliers removed, and the thresholds and center value determined by the detection method.
How do you remove outliers?
When you decide to remove outliers, document the excluded data points and explain your reasoning. You must be able to attribute a specific cause for removing outliers. Another approach is to perform the analysis with and without these observations and discuss the differences.