integralN_mc integrates over N dimensional domain with possibly infinite bounds. The aim of this program is provide the user with a robust monte carlo integration routine that is able to use stratified sampling as well as antithetic sampling. Further, it can adapt the number of function calls between iterations to efficiently use vectorizations. It can also report results for each iteration or just final results (similar to fminsearch), and for 1 or 2 dimensions it plots results in a graph, if desired.
Alexander (2021). Monte-Carlo integration (https://www.mathworks.com/matlabcentral/fileexchange/53477-monte-carlo-integration), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!