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

    function ind= OutlierIndices(R)
%OUTLIERINDICES Indices of the input data marked as outliers.
%
%   IND = OUTLIERINDICES( RESPONSE )
%
%   See also mbcmodel.response.RemoveOutliers, mbcmodel.response.RestoreData

%   Copyright 2004-2006 The MathWorks, Inc.

[X,Y,DataOK]= FitData(R.Object);
ind= find(~DataOK);