登录
首页 » matlab » pi

pi

于 2007-10-19 发布 文件大小:80KB
0 193
下载积分: 1 下载次数: 0

代码说明:

说明:  一个用于求圆周率pi的matlab算法。题目背景:取一长面积为1平方米的正方形白纸,在白纸的内部画一个直径为1米的圆,如下图所示。此圆恰好与正方形的四条边分别切于一点,它的面积是 pi*(1/2)^2 =pi/4 ,然后,你可以抓一大把芝麻,一粒一粒地随便地扔到白纸上。在你扔麦子的过程中可以请一位朋友帮助记录:一共扔了几次?有几次是扔在圆里面? 实验结束后,你只须用“芝麻落在圆里的次数”除以“一共扔的次数”得到的结果就是圆的面积。则pi就是“圆的面积*4”了 当然,你扔的次数越多,结果就越精确!()

文件列表:

pi
..\pi.asv
..\pi.fig
..\pi.m
..\pi1.exe
..\pi1.fig
..\pi1.m
..\pii.fig
..\pii.m
..\suanfa.txt

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

发表评论

0 个回复

  • test_BK
    脉冲压缩雷达二相位编码重的巴克码压缩雷达信号处理仿真(Barker code simulation)
    2020-11-20 10:29:38下载
    积分:1
  • xiangguanfenxifa
    利用相关分析法对系统进行辨识,使用matlab,能够成功辨识出系统传递函数(Correlation analysis method using the system identification, the use of matlab, can successfully identify the system transfer function)
    2013-09-24 14:43:10下载
    积分:1
  • kaSat
    设计并仿真了适合Ka 频段卫星移动信道的信号传输体制仿真结果为最终实现方案提供 了可靠的数据同时针对所设计的Turbo 编码和GMSK 调制相结合的信号传输体制提出了迭 代信道估计算法明显改善了系统的误码率BER 性能(Designed and simulated for Ka-band mobile satellite channel signal transmission system simulation results for the final program provides reliable data also for the design of the Turbo coding and GMSK modulation combined signal transmission system proposed iterative channel estimation algorithm significantly improved the system bit error rate BER performance)
    2010-11-29 01:20:51下载
    积分:1
  • 73462702fpgajpeg
    code describing jpeg with matlab
    2011-01-29 09:51:58下载
    积分:1
  • Kaiser--Blackman--WLS--Chebyshev-Filter
    Chebyshev, Kaiser, WLS, Blackman Optimization Filter
    2012-08-27 22:15:22下载
    积分:1
  • GA
    说明:  这是我编写的遗传算法实用matlab程序,简单实用。(This is what I write practical genetic algorithm matlab program, simple and practical.)
    2015-01-18 21:02:13下载
    积分:1
  • dynamically-construct-GUI
    Matlab GUI动态添加控件比较麻烦,源码给出了动态田间空间的方法,与大家分享!(Matlab GUI dynamically add controls too much trouble to source the dynamic field of space given way to share with you!)
    2010-10-25 13:45:43下载
    积分:1
  • conv_matlab
    使用MATLAB实现卷积码的编译码,信源为随机产生数,进行软判决译码(Convolutional code using the MATLAB implementation of the codec, source for the randomly generated number, to soft-decision decoding)
    2009-11-18 10:15:51下载
    积分:1
  • 4
    说明:  此算法为最小二乘辅助变量法。uy2为含噪声数据,n=2,噪声模型n=2。左为输出数据,右为输入数据。k=2,3,4,5等等(Least-squares algorithm for the auxiliary variables. uy2 for data containing noise, n = 2, the noise model n = 2. Output data for the left and right for the input data. k = 2,3,4,5, etc.)
    2009-07-24 11:48:42下载
    积分:1
  • HYS
    Brushless doubly fed reluctance generator
    2012-07-15 19:20:59下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载