-
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
-
DTMF-Dectect
To implement a DTMF encoder and decoder in a noisy environment.
- 2013-03-30 00:02:32下载
- 积分:1
-
evolve
matlab pso-xc evolve.m
matlab pso-xc evolve.m
- 2013-10-24 22:33:11下载
- 积分:1
-
emg1
data for emg.it is for signal
- 2015-04-08 14:05:39下载
- 积分:1
-
VCA
Vertex Component Analysis: A Fast Algorithm to
Unmix Hyperspectral Data(This paper presents a new method for
unsupervised endmember extraction from hyperspectral data,
termed vertex component analysis (VCA).)
- 2013-03-15 10:04:22下载
- 积分:1
-
coherence
功率谱和相干性计算的原理和matlab实现,比较经典的一篇文献,适合算法的研究者参考。来自BMSP The power spectrum and coherence function。(Principles and matlab power spectrum and coherence computing a reality, a more classic literature, researchers algorithm for reference. From BMSP The power spectrum and coherence function.)
- 2016-02-22 00:51:45下载
- 积分:1
-
lp_solve_MATLAB
一个matlab的线性规划的工具箱,不同与matlab自带的函数,功能强大,里面带有该工具箱的使用例子,操作简单。(A matlab toolbox for linear programming, different with matlab built-in function, a powerful inside the toolbox with the use of examples, easy to operate.)
- 2007-12-23 12:04:16下载
- 积分:1
-
8_12_16qam_vblast
8发射12接收 16QAM调制 mimo通信系统仿真(8, fired 12 to receive 16QAM modulation mimo communication system simulation)
- 2009-06-07 13:13:31下载
- 积分:1
-
FILE-3
HERE I HAD ATTACHED THE CODES FOR COMPRESSION
- 2014-02-27 14:46:43下载
- 积分:1
-
QC_ldpc
QC LDPC编码解码仿真程序。方便学习使用(QC LDPC codec simulation program. Easy to learn to use)
- 2016-10-06 16:06:40下载
- 积分:1