-
Addition of the complete matching GUI in folder 3_pairmatchingGUI. Addition of gtGeo functions to handle arbitrary geometry in folder zUtil_Geo. The new folders added to the path in initialise_gt. Addition of general maths functions in folder zUtil_Maths. No files removed at this stage. git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@245 4c865b51-4357-4376-afb4-474e03ccb993
Addition of the complete matching GUI in folder 3_pairmatchingGUI. Addition of gtGeo functions to handle arbitrary geometry in folder zUtil_Geo. The new folders added to the path in initialise_gt. Addition of general maths functions in folder zUtil_Maths. No files removed at this stage. git-svn-id: https://svn.code.sf.net/p/dct/code/trunk@245 4c865b51-4357-4376-afb4-474e03ccb993
gtMathsOutliers.m 286 B
% Gives outliers in a set of values.
function out = gtMathsOutliers(values,tolfact,meanv,stdv)
if nargin < 2
tolfact = 3;
end
if nargin < 3
meanv = mean(values);
end
if nargin < 4
stdv = std(values);
end
out = (values < meanv-tolfact*stdv) | (meanv+tolfact*stdv < values) ;