登录
首页 » matlab » pi

pi

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

  • PMSM_FOC
    永磁同步电机的矢量控制系统仿真,采用id=0的控制策略。在此基础上加入位置环,实现永磁同步电机的伺服系统(Permanent magnet synchronous motor vector control system simulation, using the id = 0 control strategy. On this basis, adding the position loop, to achieve permanent magnet synchronous motor servo system)
    2020-11-20 11:39:36下载
    积分:1
  • Analytic-Hierarchy-Processmatlab
    层次分析法可应用对各种决策,判断,评价中的选择问题,优化问题(AHP can be applied to a variety of decision-making, judgment, evaluation of the selection of the optimization problem)
    2013-07-22 12:23:51下载
    积分:1
  • matlab
    摘 要:针对茄子图像的灰度和颜色特点,利用MATLAB中丰富的图像处理函数,分别进行了色差分割和色调分割。在 色调分割中,采用了自动选取阈值的Otsu法。在去除残留噪音的处理中,采用标注的方法对二值图像的各连通区域进行面积 统计。保留最大面积的区域,从而使分割效果大大改善。利用多参数来衡量分割效果,使评价做到最大程度的客观、合理。(Based on the gray- level and color characteristics of eggp lant image, hue and color- difference segmentation were conducted by using the rich image p rocessing functions embedded inMATLAB. The auto threshold- adap tivemethod ofOtsu operation was specially used for hue segmentation. And upon the elimination of the residue noise, labelingmethod for statistical calculation was introduced for the connected regions of the binary image. Themaximum areaswere p reserved to imp rove segmentation effects. In addi2 tion, multi- indiceswere app lied to assess the effect of segmentation, in order to get impersonal and reasonable assessment)
    2009-05-12 11:21:14下载
    积分:1
  • 4_mbd_project_ver2
    mbd project control systems, hope this helps people
    2011-05-25 08:49:48下载
    积分:1
  • wimax-physical-layer-simulation-code
    wimax physical layer simulation code
    2011-12-07 02:24:34下载
    积分:1
  • qpsk_test
    本文是关于QPSK测试的matlab源码(This article is about the QPSK test matlab source)
    2008-04-01 20:52:49下载
    积分:1
  • prony0011_dfsnr2
    prony辨识,广泛应用于电力系统振荡模态辨识,方法简单,辨识精度高(prony identification)
    2011-09-07 15:12:29下载
    积分:1
  • synchonous
    基于matlab simulink的同步发电机仿真模型,可以直接运行观察同步发电机运行状态,可以给不同的故障观察故障下的同步发电机运行状态(Matlab simulink simulation model based on synchronous generator can be run directly observed synchronous generator running, you can give a different operating state of synchronous generator fault fault under observation)
    2014-11-30 03:58:37下载
    积分:1
  • Highboostfilter
    high boost filter for frequency domain
    2009-12-10 15:10:32下载
    积分:1
  • Multipath-Impulse-Response
    提出了一种递归方法,用来计算当室内反射光源视为Lambertian光源时,室内自由空间信道的冲击响应。(A recursive method for evaluating the impulse response of an indoor free-space optical channel with Lambertian reflectors.)
    2011-04-28 12:03:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载