Simple probability example

版本 1.0.2 (1.9 KB) 作者: John Jendzurski
Example of using MATLAB to simulate a random variable/process and compare the simulated result to the theoretical answer.
7.0 次下载
更新 2023/9/5

查看许可证

Example problem 2.23 in "Probability and Statistics for Engineering and the Sciences, 5th Edition" by Jay Devore:
A rental car facility has 10 foreign cars and 15 domestic cars. If 6 cars are chosen at random, what is the probability that 3 of the cars are foreign and the other 3 cars are domestic?
Answer: 0.3083

引用格式

John Jendzurski (2026). Simple probability example (https://ww2.mathworks.cn/matlabcentral/fileexchange/134806-simple-probability-example), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2023a
兼容任何版本
平台兼容性
Windows macOS Linux
标签 添加标签
版本 已发布 发行说明
1.0.2

Just added some comments/clarification to the .m file

1.0.1

Just changed the description to include the textbook

1.0.0