⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 underdog1.m

📁 一些常被用于教学或者参考的概率论的实例的源代码
💻 M
字号:
%underdog1.m/created by PJNahin for "Duelling Idiots"(2/17/98)
%
%
for p1=50:100
   p=p1/100;
   common=(1-p)^4;
   weaker=common*(1+4*p+10*p*p+20*p*p*p);
   P(p1-49)=weaker;
end
p=.5:.01:1;
plot(p,P)
grid
xlabel('probability, p, of stronger team winning an individual game')
ylabel('probability weaker team wins the World Series')
title('Fig.4.1-The Stronger Team Does NOT Always Win!')
figure(1)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -