%% Detect Outliers in Vector
% Find the outliers in a vector of data. A logical 1 in the output indicates the location of an outlier.

A = [57 59 60 100 59 58 57 58 300 61 62 60 62 58 57];
TF = isoutlier(A)

%
% Copyright 2012 The MathWorks, Inc.