Simple probability example

Example of using MATLAB to simulate a random variable/process and compare the simulated result to the theoretical answer.
7 Descargas
Actualizado 5 sep 2023

Ver licencia

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

Citar como

John Jendzurski (2026). Simple probability example (https://es.mathworks.com/matlabcentral/fileexchange/134806-simple-probability-example), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2023a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas
Versión Publicado Notas de la versión
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