Monte Carlo numerical multiple integration with simplex
Monte Carlo numerical integration for integral of any size.
Inputs:
- f : handle to the (vectorial column) function to integrate
- in : N-by-dim matrix containing the sample points (N is the number of samples, dim is the number of variables)
- lo : lower bounds of integration
- hi : upper bounds of integration
- useSimplex : if the points were sampled from the simplex
Outputs:
- out : (vector column) result
Cite As
Simone (2024). Monte Carlo numerical multiple integration with simplex (https://www.mathworks.com/matlabcentral/fileexchange/50479-monte-carlo-numerical-multiple-integration-with-simplex), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.