登录
首页 » VBScript » 111

111

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

  • uwbreceive
    说明:  uwb脉冲位置调制的信号进行相关接收,并且画出其图形(UWB pulse position modulation signal associated receiver, and draw its graphics)
    2021-05-16 14:30:02下载
    积分:1
  • MATLAB-color
    MATLAB颜色的使用,以研究颜色映象开始:如何使用、显示、修改和如何创建用户自己的颜色映象。然后,阐述在一个图形窗口中仿真多个颜色映象的技术或只使用颜色映象的一部分的技术(MATLAB color, began to study the color mapping: how to use, display, modify, and how to create your own color mapping. Then multiple color mapping technology of simulation in a graphical window, or use only part of the color mapping technology)
    2012-10-19 12:43:34下载
    积分:1
  • 计算不同雷达信号的模糊函数 AF_function
    计算不同雷达信号的模糊函数,画图,可以自行输入不同的信号序列(Calculate the ambiguity function of different radar signals, draw pictures, and input different signal sequences automatically.)
    2018-05-18 17:34:54下载
    积分:1
  • EMfc
    一个EM算法 这是通过高斯混合模型进行聚类的EM算法的实现,使用图形在线表示。(EM algorithm This is an implementation of the EM algorithm for Clustering via Gaussian mixture models, using graphical on-line representation.)
    2017-12-11 20:07:21下载
    积分:1
  • mojidazhi
    一个MATLAB程序算例,即求模最大值的程序,相互学习用。(Example of a MATLAB program, that is seeking the maximum modulus of the procedures used to learn from each other.)
    2007-08-25 11:38:05下载
    积分:1
  • chapter3
    MATLAB+神经网络,BP神经网络源码(MATLAB+ neural network )
    2014-09-15 22:43:30下载
    积分:1
  • FLC_M
    非线性系统模糊逻辑控制(FLC)的matlab仿真程序(Nonlinear systems fuzzy logic control (FLC) matlab simulation program)
    2014-11-05 21:00:31下载
    积分:1
  • floydbojabr
    Matlab code for color halftonisation
    2010-11-20 08:13:48下载
    积分:1
  • SARAutoFocus
    本程序是一个基于matlab的雷达SAR成像自聚焦算法,对于学习雷达信号处理的人有帮助。(This procedure is a matlab-based imaging radar SAR Autofocus Algorithm for the study of radar signal processing has to help people.)
    2008-05-20 14:08:30下载
    积分:1
  • 41695057ofdm(matlab)
    ofdm matlab仿真 单片机 串口(ofdm matlab)
    2010-05-10 16:17:41下载
    积分:1
  • 696518资源总数
  • 105714会员总数
  • 27今日下载