www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@localpspline/SelectRF.m
function [ind,rfcond]=SelectRF(ps) %SELECTRF determines possible combinations or response features for reconstruction % % [ind,rfcond]=SelectRF(ps); % Copyright 2000-2011 The MathWorks, Inc. and Ford Global Technologies, Inc. % all combinations calculated in LOCALMOD/SELECTRF [ind,rfcond]= SelectRF(ps.localmod,size(ps,1)); % the knot rf must be included DispList= get(ps,'feat.disp'); KnotFeat= find( strcmp( 'knot',DispList ) ); if length(KnotFeat)==1 Knotrf= any(ind==KnotFeat,2); ind= ind(Knotrf,:); rfcond= rfcond(Knotrf); end