Description |
MEDOUTLIERFILT - remove outliers from a multivariate data set using the
median of each column
[stats_data, filtered_data] = medoutlierfilt(x,outlier_cut,plot_state)
removes possible outliers froma data set, X, by specifiying a cut off.
OUTLIER_CUT is a cut off is a multiple of the inter quartile range above
Q3 and below Q1, default value is the same as BOXPLOT function.
Plot_state = 1 for on, 0 for off, DEFAULT = ON
EXAMPLE:
load count.dat;
[stats, filtered_data] = medoutlierfilt(count,1,1)
Inspired by quartile.m by Chris D. Larson
See also: BOXPLOT, QUARTILE
Colin Clarke 2006
Cranfield Univeristy
Statistics toolbox required for boxplot, if not specifiy boxplot off
As always comments and suggestions welcome! |