In this video I explain what a Monte Carlo Simulation is and the uses of them and I go through how to write a simple simulation using MATLAB.

Code on my GitHub: https://github.com/jamesldalton/Monte-Carlo

(Example) What is the probability of a hand of 5 cards drawn from a fair deck of 52 cards being all hearts?

**Price:**~~$48.41~~ $48.01

#### MATLAB: A Practical Introduction to Programming and Problem Solving

(as of October 24, 2020 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)**Price: $17.99**

#### MATLAB For Dummies

For Dummies (as of October 24, 2020 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)**Price: $85.32**

#### MATLAB for Engineers

(as of October 24, 2020 - More infoProduct prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on [relevant Amazon Site(s), as applicable] at the time of purchase will apply to the purchase of this product.)**Price: $42.86**

Am I mistaken, or is the probability of drawing 5 hearts in a row without replacing the cards each time P=0.000495198. http://www.wolframalpha.com/input/?i=(13%2F52)(12%2F51)(11%2F50)(10%2F49)(9%2F48)

Either way, great video and thank you!

I´d like to see how to simulate an example of conditional probability using Montecarlo in Matlab

Good job my friend. How are the kids?

Can’t wait to see your next masterpiece!

Very nice example, thank you.