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

    function [om, ok] = omMeanCenter(con)
%OMMEANCENTER 
%
%  [OM, OK] = OMMEANCENTER(CON)
%
%  See also CONSTAR, CONSTAR/GETSPECIALPOINTOPTIONS.

%  Copyright 2005 The MathWorks, Inc. and Ford Global Technologies, Inc.

% Second return arguemnt is required to work with "xregoptmgr" code.
ok = true;

% Use an "optimisation manager" to handle the options
om = contextimplementation( xregoptmgr, con, '', '', 'Mean', @omMeanCenter );
om = setAltMgrs( om, {@omMeanCenter, @omMedianCenter, @omMidRangeCenter, @omMinEllipseCenter, @omUserDefinedCenter} );

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|