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

    function ind= OutlierIndicesForTest(R,TestNumber)
%OUTLIERINDICESFORTEST Indices of a test's input data marked as outliers.
%
%   IND = OUTLIERINDICESFORTEST( LOCALRESPONSE, TESTNUMBER );
%
%   See also mbcmodel.localresponse.UpdateResponseFeatures,
%   mbcmodel.localresponse.RemoveOutliersForTest,
%   mbcmodel.localresponse.RestoreDataForTest 

%   Copyright 2004-2006 The MathWorks, Inc.

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