www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@localmod/SelFeat.m

    function f1=SelFeat(f,ind);
% LOCALMOD/SELFEAT select set of response features

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



f1= f;
f1.Values=f1.Values(ind,:);
f1.Type=f1.Type(ind);
f1.Limits= f1.Limits(:,ind);
if isempty(f1.delG)
	f1=EvalDelG(f1);
else
	f1.delG= f1.delG(ind,:);
end