Prove of Monty Hall Problem

versión (384 Bytes) por Mohammad Alhashash
Should I switch the door or not. Yes! Why? Run the script.

60 descargas

Actualizada 22 Dec 2017

Ver licencia

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 .

Citar como

Mohammad Alhashash (2022). Prove of Monty Hall Problem (, MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2017b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!