-
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
-
iamge
图像的特征提取,用于图像的分类研究
主要是用的MATLAB(Image feature extraction)
- 2010-06-01 16:40:51下载
- 积分:1
-
yaoweijuanjima
基于matlab的咬尾卷积码,对数据进行编码,再利用维特比译码的方式进行解码,大学课程设计内容。(Based on matlab tail biting convolutional codes, to encode the data, and then use the Viterbi decoding the way to decode the University curriculum content.
)
- 2021-03-07 23:29:29下载
- 积分:1
-
dtc
direct torque documentation
- 2013-11-03 17:42:11下载
- 积分:1
-
BG
说明: 非线性和非平稳时间序列突变检测的新方法—BG分割算法(Nonlinear and non-stationary time series new method of mutation detection-BG segmentation algorithm)
- 2013-08-12 10:18:35下载
- 积分:1
-
matlabruihuadaima
用matlab实现中值滤波。。。。。。。。。。(Median filter with matlab to achieve。。。。。。。。。。。。。。。。。。。。。。)
- 2011-11-14 11:13:35下载
- 积分:1
-
sparse_in_frequency
Sparse in frequency
Compressive Sensing
- 2013-12-31 15:41:15下载
- 积分:1
-
maple-tutorials
maple教程,与matlab和mathmatica并称三大数学软件,字母运算和图形分析功能强大(maple tutorials, with matlab and mathmatica said the three mathematical software, letters and powerful computing and graphical analysis)
- 2014-11-27 00:46:55下载
- 积分:1
-
Simulation-Matlab
matlab simulation for TL and cable
- 2013-10-30 03:28:11下载
- 积分:1
-
1
简单的404错误页面,用途网站优化,可以增加您的网站权重。(Simple 404 error page, use Website Optimizer, you can increase your website weights.)
- 2013-11-20 09:35:12下载
- 积分:1