www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@conbase/pFilterFactors.m
function X = pFilterFactors(con, X) %PFILTERFACTORS Filter input data for evaluation % % X = PFILTERFACTORS(CON, X) % % Remove from the data X the columns of the non-active factors and reorder the % active factors into the correct order % % See also CONBASE. % Copyright 2004-2006 The MathWorks, Inc. ai = getActiveIndices(con); if ~isequal(1:size(X,2),ai) || islogical(ai) % don't subsref unless we need to X = X(:,ai); end %------------------------------------------------------------------------------| % EOF %------------------------------------------------------------------------------|