www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgmodexpr/evalCI.m

    function y = evalCI(obj)
%EVALCI Provide confidence interval for evaluation result.
%
%   Y = EVALCI(OBJ) returns the confidence interval for the values returned
%   by the I_EVAL method.  The default definition for this value is
%   3*sqrt(pev).

%   Copyright 2006 The MathWorks, Inc.


switch obj.EvalMode
    case 1
        y = 3*sqrt(peveval(obj));
    case 2
        y = 0;
    case 3
        y = 0;
end