Monte Carlo Simulation: x^2

I need to verify the integral of x^2 with x=[0,1], using a Monte Carlo Simulation. Could someone help me out?

 Risposta accettata

Torsten
Torsten il 6 Lug 2016

0 voti

https://www.mathworks.com/matlabcentral/fileexchange/8068-montecarlo/content/montec.m
Best wishes
Torsten.

Più risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by