This is a modification of Joseph Delgadillo's excellent tutorial (Matlab from Beginner to Advanced on YouTube and also at teachable.) that computes and plots the probability of two or more people in a random group of n people will have the same birthday. Surprisingly, the probability is 0.5 at around 23 people, and approaches certainty after around 50 people. Cool problem, and thanks to Joseph Delgadillo for the very best Matlab tutorial on the Web. Great course.
인용 양식
Bud Kelly (2024). the birthday paradox (https://www.mathworks.com/matlabcentral/fileexchange/66707-the-birthday-paradox), MATLAB Central File Exchange. 검색됨 .
MATLAB 릴리스 호환 정보
개발 환경:
R2018a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux카테고리
Help Center 및 MATLAB Answers에서 Birthdays에 대해 자세히 알아보기
태그
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!버전 | 게시됨 | 릴리스 정보 | |
---|---|---|---|
1.0.0.0 |