代码搜索:Probability
找到约 4,670 项符合「Probability」的源代码
代码结果 4,670
www.eeworm.com/read/333698/12664449
m mixture.m
function prob = mixture(mix, x)
% calculate output probability
%
% inputs:
% mix -- gaussian mixture
% x -- input vector, SIZE*1
% output:
% prob -- output probability
% Copyrigh
www.eeworm.com/read/333254/12693182
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/246805/12703971
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/246805/12704084
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/244937/12830160
m randint2.m
function out = randint2(varargin);
%RANDINT Generate matrix of uniformly distributed random integers.
% OUT = RANDINT generates a "0" or "1" with equal probability.
%
% OUT = RANDINT(M) genera
www.eeworm.com/read/244937/12830683
m smldpe57.m
function [p]=smldPe57(snr_in_dB)
% [p]=smldPe57(snr_in_dB)
% SMLDPE57 simulates the probability of error for the given
% snr_in_dB, signal to noise ratio in dB.
d=1;
SNR=exp(snr_in_dB*log(1
www.eeworm.com/read/244937/12830703
m smldpe58.m
function [p]=smldPe58(snr_in_dB)
% [p]=smldPe58(snr_in_dB)
% SMLDPE58 simulates the probability of error for the given
% snr_in_dB, signal to noise ratio in dB.
d=1;
SNR=exp(snr_in_dB*log(1
www.eeworm.com/read/244937/12831082
m cm_sm41.m
function [p]=cm_sm41(snr_in_dB)
% [p]=cm_sm41(snr_in_dB)
% CM_SM41 finds the probability of error for the given
% value of snr_in_dB, SNR in dB.
N=10000;
d=1; % min. distance between
www.eeworm.com/read/244937/12831102
m entropy.m
function h=entropy(p)
% H=ENTROPY(P) returns the entropy function of
% the probability vector p.
if length(find(p