www.gusucode.com > mbctools 工具箱 matlab 源码程序 > mbctools/@mdevmlerf/outliers.m
function ol= outliers(mdev,NewOL) %OUTLIERS % Copyright 2000-2005 The MathWorks, Inc. and Ford Global Technologies, Inc. p= Parent(mdev); ms= p.mle_stats; if nargin==1 if isfield(ms,'Outliers') ol= find( ms.Outliers(:,rfindex(mdev)) ); else ol= []; end else ind= rfindex(mdev); ms.Outliers(:,ind)= false; ms.Outliers(NewOL,ind)= true; % update p.mle_stats(ms); p.status(0); ol= info(mdev); end