登录
首页 » VBScript » 111

111

于 2011-05-24 发布 文件大小:1KB
0 287
下载积分: 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 个回复

  • fessnel
    读取一个图像,然后对这个图像进行菲涅尔衍射,最终得到衍射图(Reads an image, and then the image is Fresnel diffraction, finally obtained diffraction pattern)
    2015-12-22 23:51:06下载
    积分:1
  • matlab
    Matlab各编程应用实例,并包含正交函数、曲线拟合、回归分析等。(Application of the Matlab programming, and includes orthogonal function, curve fitting, regression analysis.)
    2010-11-16 17:20:14下载
    积分:1
  • savitzkyGolay
    说明:  一个非常不错的savitzkyGolay工具包 并有详细的帮助说明 功能强大(SavitzkyGolay a very good kit and a detailed description of the powerful help)
    2011-03-30 10:16:09下载
    积分:1
  • md2dfluid2
    matlab数学软件用于分子晶格成长模拟的例行程序(the matlab mathematical software for molecular lattice growth simulation routine)
    2013-04-01 18:20:46下载
    积分:1
  • IA
    说明:  该程序主要描写的是手机位置更新请求过程后基站发送立即指派指令IA,如何解析IA的程序(The program is to analysis the immediate assignment for getting information)
    2013-04-22 21:05:47下载
    积分:1
  • sinc_gause
    简单函数的傅里叶变换,包括sinc、高斯函数和带有二次相位的高斯函数的傅里叶变换(Fourier transform of simple function)
    2018-04-11 19:38:42下载
    积分:1
  • music的各种算法
    music算法,可用于雷达超分辨成像,提高图像分辨率(music algrithem,It can be used in radar super-resolution imaging to improve image resolution)
    2020-11-01 20:59:55下载
    积分:1
  • boltz12
    使用强化学习方法实现移动激光测距机器人避障(Realization of obstacle avoidance by mobile laser rangefinder using Reinforcement learning method)
    2017-12-03 22:16:46下载
    积分:1
  • autonavigator
    主要实现一无人自行车的控制自主导航,可对导航与控制进行说明(The main achievement of a bicycle control unmanned autonomous navigation, navigation and control can explain)
    2007-12-19 23:58:54下载
    积分:1
  • Untitled4
    说明:  dv-hop算法仿真,该算法能够对一定区域内的未知节点进行定位(dv-hop algorithm simulation, the algorithm can be in the region to locate the unknown node)
    2011-04-13 15:32:16下载
    积分:1
  • 696518资源总数
  • 106010会员总数
  • 4今日下载