-
MatlabPro2
Programs for the book Advanced Engineering Mathematics using MATLAB, 2ndEd.
- 2009-05-09 12:20:48下载
- 积分:1
-
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
-
FEM-in-Electromagnetics
用FEM,有限元法解决电磁场中的相关问题,二维,三维,时域等一系列东西,佷用参考价值(Using FEM, finite element method to solve issues related to electromagnetic fields, two-dimensional, three-dimensional, time-domain and a series of things, Hen with reference value)
- 2013-08-16 19:52:15下载
- 积分:1
-
4
说明: 设{ ,k=0,1,2,…}为N(0,1)白序列, , =0,1,2,…,1000 。求:
;
(Let {k = 0,1,2, ...} white sequence of N (0,1) = 0,1,2, ..., 1000 Requirements: )
- 2012-11-01 23:20:12下载
- 积分:1
-
ruihua2
图像锐化图像锐化图像锐化图像锐化图像锐化图像锐化图像锐化图像锐化图像锐化图像锐化图像锐化(imageimageimgeimageimageimageimagiii)
- 2010-06-06 19:50:15下载
- 积分:1
-
feixiesuanfa
费歇算法
用于模式识别等其他 工程应用方面的 问题 应用效果 良好(Fisher algorithm for pattern recognition and other aspects of engineering applications a good application effect)
- 2007-10-16 09:46:48下载
- 积分:1
-
Viterbi-decoding
说明: 通信系统的仿真,Viterbi译码可用于卷积码等的译码解决方案,可以用于通信领域,本例子给出了基于matlab的程序,可用于实际的仿真!(communications system simulation, Viterbi decoder can be used as a convolutional code decoding solution, communications can be used, the example is given of the procedures based on Matlab can be used for actual simulation!)
- 2006-05-06 16:36:01下载
- 积分:1
-
cvx_usrguide
CVX使用向导,专门用于求解凸优化问题,快速,使用方便。(CVX using the wizard, designed to solve convex optimization problems, fast, easy to use.)
- 2010-05-12 15:00:46下载
- 积分:1
-
UnknownFormatFlagsExceptionTest
final SerializableAssert exComparator.
- 2014-02-18 12:25:44下载
- 积分:1
-
weightpercent
Returns weighted percentiles of a sample given the weight vector w
% The idea is to give more emphasis in some examples of data as compared to
% others by giving more weight. For example, we could give lower weights to
% the outliers.
% The motivation to write this function is to compute percentiles for Monte
% Carlos simulations where some simulations are very bad (in terms of goodness
% of fit between simulated and actual value) than the others and to give
% the lower weights based on some goodness of fit criteria.(Returns weighted percentiles of a sample given the weight vector w The idea is to give more emphasis in some examples of data as compared to others by giving more weight. For example, we could give lower weights to the outliers. The motivation to write this function is to compute percentiles for Monte Carlos simulations where some simulations are very bad (in terms of goodness of fit between simulated and actual value) than the others and to give the lower weights based on some goodness of fit criteria .)
- 2007-11-02 14:41:18下载
- 积分:1