Prove of Monty Hall Problem

版本 1.0.0.0 (384 字节) 作者: Mohammad Alhashash
Should I switch the door or not. Yes! Why? Run the script.
69.0 次下载
更新时间 2017/12/22

查看许可证

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 .

引用格式

Mohammad Alhashash (2024). Prove of Monty Hall Problem (https://www.mathworks.com/matlabcentral/fileexchange/65492-prove-of-monty-hall-problem), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017b
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0