TEST_INT_MARGIN
Probability that a Function is Greater than a Marginal Value
TEST_INT_MARGIN
is a MATLAB library which
defines test problems for the integral margin problem.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the GNU LGPL license.
Source Code:
-
file_name_inc.m,
increments a file name.
-
gaussian.m,
evaluates a gaussian function for use as a weight.
-
p00_f.m,
evaluates the objective function for any problem.
-
p00_problem_num.m,
returns the number of problems available.
-
p00_title.m,
returns a title for any problem.
-
p01_f.m,
evaluates the objective function for problem 01.
-
p01_title.m,
returns a title for problem 01.
-
p02_f.m,
evaluates the objective function for problem 02.
-
p02_title.m,
returns a title for problem 02.
-
p03_f.m,
evaluates the objective function for problem 03.
-
p03_title.m,
returns a title for problem 03.
-
p04_f.m,
evaluates the objective function for problem 04.
-
p04_title.m,
returns a title for problem 04.
-
p05_f.m,
evaluates the objective function for problem 05.
-
p05_title.m,
returns a title for problem 05.
-
s_len_trim.m,
returns the length of a character string to the last nonblank.
-
timestamp.m,
prints the current YMDHMS date as a timestamp;
Examples and Tests:
-
test_int_margin_test.m,
calls all the tests.
-
test_int_margin_test_output.txt,
the output file.
-
test_int_margin_test01.m,
plots the function f(x) for each test.
-
test_int_margin_test02.m,
estimates the integral of f(x), the marginal region, and the integral
of f(x) over the marginal region, for each test.
-
test_int_margin_test03.m,
estimates the integral of f(x), the marginal region, and the integral
of f(x) over the marginal region, for each test, using several weight functions.
-
p01_plot.png,
a plot of the objective function for problem 01.
-
p02_plot.png,
a plot of the objective function for problem 02.
-
p03_plot.png,
a plot of the objective function for problem 03.
-
p04_plot.png,
a plot of the objective function for problem 04.
-
p05_plot.png,
a plot of the objective function for problem 05.
You can go up one level to
the MATLAB source codes.
Last revised on 16 January 2012.