polygon_monte_carlo_test, a MATLAB code which calls polygon_monte_carlo(), which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.
The information on this web page is distributed under the MIT license.
polygon_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function over the interior of a polygon in 2D.