Code covered by the BSD License    Highlights from Remove
outliers   4.2 | 4 ratings Rate this file 40 Downloads (last 30
days) File Size: 4.04 KB File ID: #37211 image thumbnail  Remove
outliers    Turns outliers from a vector or matrix to NaN based
on modified Thompson Tau method  | Watch this File  File
Information  This function accepts a vector or matrix and
detects the outlier values in the vector/matrix using Thopson
Tau method, which is based on the absolute deviation of each
record from the mean of the entire vector/matrix, and fills the
outliers with NaNs in the returned output.  The magnitude of
Thompson's Tau value corresponding to the number of records in
the input vector (m) or matrix (m*n) to the Standard Deviation
of the input vector/matrix is the rule to decide if any record
is in the outliers. The mean, standard deviation (std) and the
magnitude of Thompson's Tau (tau*std) are calculated again after
removal of each outlier. If the input is matrix, it will be
converted to a vector before dete