-
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
-
Solution-of-PDE
偏分方程的MATLAB解法(对matlab的pde工具箱,从图形用户界面入手,对各种典型方程和应用实例逐个作了计算和分析)(MATLAB Solution of partial differential equation (pde on the matlab toolbox, starting from the graphical user interface, a variety of typical equations and application examples have been calculated and analyzed individually))
- 2013-08-26 23:49:41下载
- 积分:1
-
AKSVD
该算法是K-SVD算法的一种改进算法。该算法可以用于稀疏字典的学习中。与传统方法相比,能够有效的降低计算量,提高字典更新的速度。(The algorithm is an improved algorithm of K-SVD algorithm. The algorithm can be used to sparse dictionary learning. Compared with conventional methods, it is possible to effectively reduce the amount of computation, to improve the speed of dictionary update.)
- 2021-03-26 17:29:13下载
- 积分:1
-
ROC
说明: ROC曲线绘制程序!matlab版!搜索,无重复。(ROC curve drawing program! matlab version! English, no repeat.)
- 2008-09-03 12:07:55下载
- 积分:1
-
filterbank
proposed filter-based algorithm uses a bank of Gabor filters to capture both local and global details
in a fingerprint as a compact fixed length FingerCode. The fingerprint matching is based on the Euclidean
distance between the two corresponding FingerCodes and hence is extremely fast. We are able to achieve a
verification accuracy which is only marginally inferior to the best results of minutiae-based algorithms
published in the open literature
- 2012-03-25 21:18:38下载
- 积分:1
-
SMO-and-EKF-on-PMSM
一篇很好的将滑模控制与扩展卡尔曼控制结合的控制策略文章。(A very good text with SMO and EKF about PMSM )
- 2015-01-09 19:38:58下载
- 积分:1
-
MediaRecorderStateUnitTestTemplate
A template class for running a method under test in all possible states of a MediaRecorder object.
- 2013-12-06 14:36:59下载
- 积分:1
-
mimocapcitywithdifferentcoefficients
说明: 窄带平衰落相关MIMO信道容量仿真,内容包括:天线间距、功率角度谱、多簇、总角扩展等参数对信道容量及相关系数的影响(Narrowband flat fading MIMO channel capacity related to simulation, including: antenna spacing, angle power spectrum, multi-cluster parameters such as total angular expansion of channel capacity and the correlation coefficient of)
- 2010-04-09 13:32:56下载
- 积分:1
-
lfm_process
用线性调频信号的雷达系统的matlab仿真(a radar system with lfm signal simulation using matlab )
- 2011-07-17 22:51:01下载
- 积分:1
-
对鸢尾花样本进行聚类 k-means-for-iris
利用K均值聚类对鸢尾花样本进行聚类的matlab程序,包含源代码、样本数据、聚类结果(The use of K-means clustering method to classify iris sample matlab program, the program includes source code, sample data, the classification results)
- 2020-10-27 19:49:59下载
- 积分:1