www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@testplansweepsetfilter/setTolerance.m
function tssf = setTolerance(tssf, tol) %SETTOLERANCE Set tolerance and hence re-run the cluster algorithm % % TSSF = SETTOLERANCE(TSSF, TOL) % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. if isnumeric(tol) && length(tol) == length(tssf.tolerance) % Ensure that the tolerances are a horizontal vector tssf.tolerance = tol(:)'; %% keep clusters true to the tolerance?? tssf = runClusterAlgorithm(tssf); end