登录
首页 » Matlab » On birthday matching in a classroom(生日匹对概率问题)

On birthday matching in a classroom(生日匹对概率问题)

于 2023-01-05 发布 文件大小:488.61 kB
0 119
下载积分: 2 下载次数: 1

代码说明:

本文(含代码),针对生日匹对的概率问题进行了数学分析,使用了两种分析方法得到了相同答案(直接法,与间接法)。 紧接着,试图观察人数增加对成功概率的影响,尤其是曲线变化状况,故编写了R代码的相关函数与绘图程序。但是由于编程语言以及计算机自身的限制,它无法处理阶乘,幂运算过大的情形(MATLAB同样如此)。 因此不得不转而使用Mathematic数学软件进行分析,Mathematic有较强的符号计算能力,自动绘图能力一流,很好的展现了S型变化规律。 相关结论为,当集体人数达到25人时,出现两人生日相同的概率为50%,当集体人数达到60人时,概率几乎为100%。 上传文件为R-Markdow代码包,内嵌相关函数代码,和各类文件格式的文本分析内容。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • presenttheradialsymmetrydetectorfordetectingspeeds
    本文中,我们提出了检测速度标志探测器的径向对称性。我们评估一个内道路车载系统探测器本身。我们也评估其性能,并在我们的道路车辆运行线上证明。(Algorithms for classifying road signs have a high computational cost per pixel processed. A detection stage that has a lower computational cost can facilitate real-time process- ing. Various authors have used shape and color-based detectors. Shape-based detectors have an advantage under variable lighting conditions and sign deterioration that, although the apparent color may change, the shape is preserved.)
    2010-09-19 18:16:03下载
    积分:1
  • music-tiankongzhicheng-of-matlab
    用matlab编写的天空之城代码,执行后可听到优美的音乐(music tiankongzhicheng by matlab)
    2014-12-04 18:10:00下载
    积分:1
  • Func_SphericalImage.m
    projection du plan image à la sphère
    2013-11-05 21:41:48下载
    积分:1
  • MTF_DifferentWa
    不同离焦下Mtf积分曲线随相位板参数的变化,进而用来选择合适的相位板(The Mtf integral curve along with the change of phase plate parameters to appropriate phase plate)
    2021-04-06 11:59:02下载
    积分:1
  • sptest
    to test input and output for both.
    2015-11-22 19:25:44下载
    积分:1
  • crc73
    matlab实现(7,3)循环码编码很简单(matlab realize (7,3) cyclic code is very simple coding)
    2008-05-29 17:54:04下载
    积分:1
  • perception-algorithm
    模式识别中的经典算法,感知器算法在matlab中的编程实现(The classic pattern recognition algorithms, perception algorithm in matlab programming)
    2013-03-30 20:58:18下载
    积分:1
  • Arithmeticcoding
    用matlab实现算术编码,包含对数据的压缩和解压(Using matlab realize arithmetic coding, including the data compression and decompression)
    2007-11-09 02:28:40下载
    积分:1
  • matlab_foudation
    matlab的基础知识,大好基础,实验论证很重要。(matlab basic knowledge, excellent basic, experimental verification is very important.)
    2009-03-27 21:59:28下载
    积分:1
  • petri
    说明:  这是基于MATLAB中的stateflow的一个简单的单水箱状态机(Single Water Tank State Machine)
    2019-04-02 20:56:45下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载