登录
首页 » matlab » pi

pi

于 2007-10-19 发布 文件大小:80KB
0 321
下载积分: 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 个回复

  • jiachunfz
    matlab编的甲醇间歇精馏建模仿真。采用微分方程计算的。(matlab code modeling and simulation of batch distillation of methanol)
    2010-11-24 20:34:03下载
    积分:1
  • smooth
    SMOOTH uses a vectorized implementation that may be slow when X and/or FRAME_LENGTH are very large. The number of elements that are used for calculation is length(X)*FRAME_LENGTH. The algorithm vectorizes the operation by creating a matrix of indexes and extracting its diagonals. E.g. for a vector of length 4 and frame_length of 2, the algorithm creates a temporary zero-padded matrix x2 from which it creates a set of indexes:
    2010-06-11 15:43:35下载
    积分:1
  • eluosifangkuai
    在matlab开发环境中,实现俄罗斯方块游戏的程序(Development environment in matlab to achieve Tetris game program)
    2013-11-19 13:56:14下载
    积分:1
  • target-tracking
    一辆车在前,一车在后,前车匀速,加速,转弯,后车跟踪的matlab程序。(The previous vehicle, a car after the vehicle speed, acceleration, turning, vehicle tracking matlab after the procedure.)
    2009-05-12 23:25:15下载
    积分:1
  • SA
    说明:  这是基本的模拟退火算法,里面还附有一个常用的测试函数。(This is the basic simulated annealing algorithm, which is also accompanied by a commonly used test functions.)
    2014-09-20 22:50:53下载
    积分:1
  • Numerical-methods-for-Speacial-Functions
    Numerical methods for Speacial Functions for matlab
    2011-11-01 14:26:33下载
    积分:1
  • simplerelay
    simple relay placement in wimax will give better results .this source code compare simple relay with norelay.
    2011-12-21 15:12:34下载
    积分:1
  • NewFolder2
    communication simulation-matlab
    2009-10-29 17:39:06下载
    积分:1
  • zoomfft
    该程序是我把上面的Matlab版 ZoomFFT改写成Vc++版,该程序通过编译没有问题,我调用函数(The program is my Matlab version of the above into ZoomFFT rewritten Vc++ version of the program through the compiler there is no problem, I call the function)
    2009-06-30 22:43:32下载
    积分:1
  • Massive-MIMO
    关于大规模MIMO的论文,包括导频设计、信道估计等内容,有一定参考价值(MIMO papers on a large scale, including the pilot design, channel estimation, etc., have a certain reference value)
    2013-11-30 16:40:42下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载