-
111
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) )
- 2011-05-24 15:39:41下载
- 积分:1
-
MATLAB_SIMULINK
MATLAB-SIMULINK通信系统建模与仿真实例分析(MATLAB-SIMULINK communications system modeling and simulation analysis)
- 2013-11-26 16:52:49下载
- 积分:1
-
matlabPrimer35
Matlab入门基础,第二版,佛罗里达大学数学系Kermit Sigmon教授出的~(MATLAB Primer
Second Edition
Kermit Sigmon
Department of Mathematics
University of Florida)
- 2009-07-02 10:13:36下载
- 积分:1
-
LI-TIFROM_package
fastica valogorithme for bss
- 2012-07-23 20:38:39下载
- 积分:1
-
matlab
基于数字图像跟matlab对车辆空位统计系统的实现,实现灰度图像的二值化,边缘检测等(Based on digital image with matlab of vehicle space statistical system, realize the gray image binarization, edge detection and so on)
- 2014-11-25 23:08:55下载
- 积分:1
-
wv_con
WVD对单频信号进行分析的程序,具有良好的提取信号特征功能(WVD of single-frequency signal analysis program, extracts a signal having a good characteristic features)
- 2015-01-24 20:02:42下载
- 积分:1
-
MATLAB_7_0
详细的介绍了matlab实用技术的方法和工作原理(Describes in detail the methods and practical techniques matlab works)
- 2010-06-20 12:31:38下载
- 积分:1
-
susan
Matlab平台下用SuSan算法检测眼睛角点(Matlab platform with SuSan algorithm to detect the eye corner)
- 2010-09-07 10:43:45下载
- 积分:1
-
clockie
It shows how to build a clock in MATLAB..........................................................................................................................................................................................................................
- 2012-07-19 14:50:12下载
- 积分:1
-
DOAMUSICcoherentFBSS
前后向平滑, music
主要包含经典music算法实现原理及其代码,然后在此基础上介绍了前后向平滑算法的实现及其代码和仿真结果(forward/backward spatial smoothing,MUSIC
Consists mainly of classical music algorithm theory and its code, and then on this basis introduced before and after smoothing algorithm and code and simulation results)
- 2013-10-10 11:10:51下载
- 积分:1