www.gusucode.com > mbc 工具箱 matlab 源码程序 > mbc/@mbcmodel/@hierarchicalresponse/OutlierIndices.m

    function ind = OutlierIndices(R)
%OUTLIERINDICES Indices of the input data marked as outliers.
%
%   IND = OUTLIERINDICES( RESPONSE )
% 
%   See also mbcmodel.hierarchicalresponse.DoubleInputData.

%   Copyright 2004-2005 The MathWorks, Inc.

if hasBest(R.Object)
    ind= outliers(R.Object);
else
    error('mbc:mbcmodel:hierarchicalresponse:InvalidState','Two-stage model not made');
end