登录
首页 » VBScript » 111

111

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

  • dq_sv
    matlab svpwm:svpwm的matlab仿真主要利用matlab进行svpwm生成的PARK变换、Park逆变换、波形输出等(matlab svpwm)
    2011-05-25 18:49:29下载
    积分:1
  • readfromexcel-hanshu
    matlab中读取excel表格的重要途径(an important way to read excel spreadsheet matlab)
    2013-12-23 21:54:21下载
    积分:1
  • Outlier_Global
    matlab的全局例外点检测程序,适合于做数据挖掘的朋友(matlab global exception detection procedure, suitable to do data mining Friend)
    2007-09-13 09:32:35下载
    积分:1
  • Untitled
    an aeample for svm classification
    2010-10-23 02:22:34下载
    积分:1
  • QPSK
    说明:  实现QPSK的仿真,画出误码率和信噪比的曲线(QPSK simulation to achieve, draw the curve of error rate and SNR)
    2010-04-22 09:55:44下载
    积分:1
  • dw2xls
    dw to xls 这个是用于pb9下的,已经修改过,不会弹出demo。 pb8的。 pb8设置有点麻烦,因为pb9是可以直接把(dw to xls)
    2013-12-23 20:38:22下载
    积分:1
  • load_flow
    calculation of load flow in power system using matlab power engineering field
    2013-07-18 16:59:20下载
    积分:1
  • MATLAB
    matlab入门ppt,第一章,对于需要学习matlab入门的同学很有帮助。(matlab entry)
    2013-09-14 20:09:34下载
    积分:1
  • 87361021matlabworkElectricalpowerandvoltagecalcula
    Electrical power and voltage calculate
    2008-07-08 19:33:37下载
    积分:1
  • ijca
    Spread spectrum techniques can be very useful to overcome the communication problems like security and efficient usage of power. In this technique, the information signal to be transmitted is multiplied by the PN code (This is the general case and it can be any kind of sequence.),called spreading code signal. The signal which is obtained after the multiplication of PN code is called spread signal which is then transmitted.
    2015-04-22 20:16:33下载
    积分:1
  • 696518资源总数
  • 104347会员总数
  • 12今日下载