how to understand monte carlo simulation using statistics

please explain about monte carlo simulation with simple example program.

6 commentaires

José-Luis
José-Luis le 19 Sep 2016
Modifié(e) : José-Luis le 19 Sep 2016
This is an extremely vague question, and not directly a Matlab one. Have you tried borrowing a book from your local library?
s i have read the books.but my sir told me to write a matlab code using monte carlo simulation.the given data is a=10,b=20,mean of a & b=0,std dev of a & b=3 & 5.given equation is y=a^2+b^2+2a*b*-a/b.here i have to find how many times it will exceed y=901 or 898 and if the absolute value is greater or less than 1.5 times of error of y,then it is considered as failure.pls explain this
How can you have a and b be constants of 10 and 20 yet have them also be variable with specified means and stdevs????
Well, any answer for that?
So a is 10, but it has a mean of 0. Hmm.
Not a MATLAB question.

Connectez-vous pour commenter.

Réponses (1)

KSSV
KSSV le 19 Sep 2016
Modifié(e) : KSSV le 19 Sep 2016
You may see the below example of calculating value of pi using Monte Carlo simulation.
And the best is to pick up a book and read the basics of it and then come to code.

Produits

Modifié(e) :

le 28 Sep 2016

Community Treasure Hunt

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

Start Hunting!

Translated by