www.gusucode.com > mbcdesign 工具箱 matlab 源码程序 > mbcdesign/@xregdesign/pcreject.m

    function rej=pcreject(des)
% PCREJECT   Percentage rejection of candidates
%
%   R=PCREJECT(D) returns the percentage of candidate points
%   rejected by the constraints.
%

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



% Created 4/1/2000

rej=100*(1-(ncand(des)./ncand(des,'unconstrained')));