eed confidence level,
% e.g.,99% when alpha=0.5%. If the algorithm terminates without showing any
% warning messages and provides an answer Q, then the following inequality
% would be satisfied:
%
% Pr(| Q - I | <= tolfun) = 99%
%
% Please refer to our paper [1] for detailed arguments and proofs.
%
%% Examples
%

%%
% *Example 1: Quadratic*
%
% Estimate the integral with integrand $f(x) = x^2$ over the interval
% $[0,1]$ with default parameters: order=1, abstol=0.01, relTol=0

warning('off','GAIL:cubBayesNe