www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevmlerf/RemoveOutliers.m

    function mdev= RemoveOutliers(mdev,SelectionCriteria);
%RemoveOutliers refit models after removing outliers 
%
%mdev= RemoveOutliers(mdev,SelectionCriteria);
% Inputs
%   SelectionCriteria  outlier selection rule or indices of points to 
%                      remove
% 
% Indices= func(model, data, factorName); 
%   The factors are the same as appear in the scatter plot in the model
%   browser. 
%   'data' contains the factors as columns of a matrix
%   'factorNames' is a cell array of the names for each factor

% Note it is also possible to use a specical array to do standard types of
% outlier removal (available from popmenus in model browser dialog). This
% option is not documented because of its complexity

%  Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc.


error(message('mbc:mdevmlerf:InvalidState'))