登录
首页 » VBScript » 111

111

于 2011-05-24 发布 文件大小:1KB
0 305
下载积分: 1 下载次数: 3

代码说明:

  function pi = solve2(count,m,cc) 借助布冯投针实验 仿真求pi的值 pi=0 frq=0 randNo = binornd(1,cc,1,m) pro=zeros(1,count) for j=1:count for i = 1:m if randNo(1,i) == 1 frq = frq + 1 end pro(i) = frq/i end pi = (2*m)/frq pro(j) = pi end pro = pro,num =1:count plot(num,pro) (function pi = solve2 (count, m, cc) to vote with Buffon needle experiment simulation find the value of pi pi = 0 frq = 0 randNo = binornd (1, cc, 1, m) pro = zeros (1, count) for j = 1: count for i = 1: m if randNo (1, i) == 1 frq = frq+ 1 end pro (i) = frq/i end pi = (2* m )/frq pro (j) = pi end pro = pro, num = 1: count plot (num, pro) )

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

发表评论

0 个回复

  • Sparse-noise-reduction
    用于信号的稀疏降噪,特别是转子信号的稀疏降噪(Sparse noise reduction)
    2020-10-28 16:29:57下载
    积分:1
  • stbcsttc_coparizion
    Comparizion of BER for STBC and STTC systems
    2009-10-08 16:08:07下载
    积分:1
  • yousezaosheng
    有色噪声的处理方面的源代码有色噪声的处理方面的源代码(Colored noise processing aspects of the source code)
    2013-01-05 15:29:46下载
    积分:1
  • Mech_compfinal
    Composite analysis and calculate ABD matrice and analys=ze using different composite failure theories
    2011-11-19 12:48:34下载
    积分:1
  • ear-recognition
    基于主成分分析的人耳识别方法研究,使用方法为PCA,算法较为简单,易于编程(PCA-based ear recognition method, using the method for the PCA, algorithm is simple, easy to program)
    2011-05-04 14:16:01下载
    积分:1
  • LTE-with-receiver-coding
    Long Term Evolution (LTE) receiver coding
    2013-04-09 19:10:42下载
    积分:1
  • MATLABSimulationsforRadarSystemsdesign
    国外经典的雷达系统设计书籍:MATLAB Simulations for Radar Systems design.pdf 内有大量MATlAB仿真代码,对雷达信号检测与估计研究方向的人员很有帮助(The classic design of radar systems of foreign books: MATLAB Simulations for Radar Systems design.pdf there are a lot of MATlAB simulation code, the radar signal detection and estimation of the direction of the staff very helpful)
    2010-05-19 09:11:08下载
    积分:1
  • C7_3QR
    利用MATLAB进行程序C7_3 QR方法的算法(The use of MATLAB to carry out procedures C7_3 QR algorithm)
    2009-03-17 10:23:23下载
    积分:1
  • Chapter8
    用Matlab语言实现通信系统的后处理功能(Language communication system using Matlab post-processing functions)
    2010-06-08 11:48:26下载
    积分:1
  • ISODATA
    isodata 迭代自组织的数据分析算法(isodata )
    2010-11-23 09:51:57下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载