www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@cset_lhs/partialset.m
function out=partialset(obj,ind) % PARTIALSET Return the partial list of candidate points % % LIST=PARTIALSET(OBJ,IND) returns the partial list of points in the % candidate set. % % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Created 2/11/2000 if ~isempty(ind) s.type='()'; s.subs={1,':'}; out = zeros(length(ind),nfactors(obj)); out = repmat(subsref(limits(obj)',s),length(ind),1)+ ... repmat(obj.delta,length(ind),1).*(double(obj.indices(ind,:))-1); else out=[]; end return