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

    function cp=centerpoint(cs)
%CENTERPOINT  Return central point of candidate set
%
%  CP=CENTERPOINT(CSET) returns the central point of the 
%  candidate set CSET.
%

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



% Created 30/12/2000

cp=(sum(cs.lims,2).*0.5)';