代码搜索:Probability
找到约 4,670 项符合「Probability」的源代码
代码结果 4,670
www.eeworm.com/read/163824/10143280
m fhstart.m
%Hufman coding algorithm
%Author : Jeny Rajan
% Total program is divided into three modules
% (1) Histogram building & Probability calculation (fhstart.m)
% (2) Huffman Tree drawing phase(fhtree1.
www.eeworm.com/read/358682/10182185
cpp lotto.cpp
// lotto.cpp -- probability of winning
#include
// Note: some implementations require double instead of long double
long double probability(unsigned numbers, unsigned picks);
int main()
www.eeworm.com/read/356723/10222160
m fig4_2.m
t=0:0.001:6;
psisq=1;
a=3;
ray=t.*exp(-(t.^2)./2.);
arg1=1./sqrt(2*pi);
arg2=-0.5.*((t-a).^2);
gau=arg1.*exp(arg2);
plot(t,ray,'k',t,gau,'k');
grid
gtext('Gaussian');
gtext('Rayleigh')
xlab
www.eeworm.com/read/356723/10222186
m untitled1.m
t=0:0.001:6;
psisq=1;
a=3;
ray=t.*exp(-(t.^2)./2.);
arg1=1./sqrt(2*pi);
arg2=-0.5.*((t-a).^2);
gau=arg1.*exp(arg2);
plot(t,ray,'k',t,gau,'k');
grid
gtext('Gaussian');
gtext('Rayleigh')
xlab
www.eeworm.com/read/426227/10273872
m figuretext.m
load p1.txt
load p2.txt
load d.txt
q1=p1';
q2=p2';
q3=d';
SNRindB=1:8;
semilogy(SNRindB,q1,'r');
hold
semilogy(SNRindB,q2,'g');
semilogy(SNRindB,d,'y');
xlabel('traffic');
ylabel('
www.eeworm.com/read/426227/10273876
m sdmatext.m
text_num=1000000;%%%%the text num。
channelnum=5; %%%the num of channel
block_num=0;%%%用the num which is blocking
p1=0; %%%to catch the probability of the blocking instance
ps=0.99; %%%the
www.eeworm.com/read/426227/10273908
asv sdma_single.asv
text_num=10000;%%%%the text num。
channelnum1=5; %%%the num of channel
channelnum2=10;
block_num=0;%%%用the num which is blocking
p1=0; %%%to catch the probability of the blocking instance
p
www.eeworm.com/read/424063/10499208
m entropy.m
function h=entropy(p)
% H=ENTROPY(P) returns the entropy function of
% the probability vector P.
if length(find(p