Prove of Monty Hall Problem

Should I switch the door or not. Yes! Why? Run the script.
69 téléchargements
Mise à jour 22 déc. 2017

Afficher la licence

The code uses 100 random trails of selecting among three doors to win a car. each with randomly selected door that containing the care in variable called 'prize', and randomly candidate door in a variable 'candidate' . The host decided to open a door with a goat, this shown in variable called 'host' and then there is a variable containing the case of switch to the other door ' selecting.
The experiment shows that the switching result in much higher probability of winning the car from one third to two third ! Try it .

Citation pour cette source

Mohammad Alhashash (2024). Prove of Monty Hall Problem (https://www.mathworks.com/matlabcentral/fileexchange/65492-prove-of-monty-hall-problem), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2017b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0.0