代码搜索:Generates
找到约 10,000 项符合「Generates」的源代码
代码结果 10,000
www.eeworm.com/read/379352/6957854
m samplewithr.m
function Y = sampleWithR(weights,K)
%Y = sampleWithR(weights,K)
%Generates K samples from the discrete distribution specified by weights
%O(K)
%Need to handle border effects
cdf = cumsum(weights);
Y
www.eeworm.com/read/467764/7000861
m fig1_25.m
% This program generates Fig. 1.25 of text
clear all
close all
R = linspace(10,400,5000);
[SIR] = sir (50e3, 35, 10, 5.6e9, 50e-6, 5, R, 200, 50e6, 10, .3);
www.eeworm.com/read/467764/7001019
m fig4_3.m
%This program generates Figure 4.3.
close all
clear all
logpfa = linspace(.01,250,1000);
var = 10.^(logpfa ./ 10.0);
vtnorm = sqrt( log (var));
semilogx(logpfa, vtnorm,'k')
grid
www.eeworm.com/read/467324/7009699
m gngauss.m
function [gsrv1,gsrv2]=gngauss(m,sgma)
% [gsrv1,gsrv2]=gngauss(m,sgma)
% [gsrv1,gsrv2]=gngauss(sgma)
% [gsrv1,gsrv2]=gngauss
% GNGAUSS generates two independent Gaussian random variables w
www.eeworm.com/read/467324/7009827
m cm_f34.m
% script that generates the figure 3.4 of Carrier modulation chapter
snrindB=0:0.25:18;
for i=1:length(snrindB),
snr=10^(0.1*snrindB(i));
P2(i)=Qfunct(sqrt(2*snr));
P4(i)=2*Qfunct(sqrt(4*sn
www.eeworm.com/read/466212/7041111
m cm_f34.m
% script that generates the figure 3.4 of Carrier modulation chapter
snrindB=0:0.25:18;
for i=1:length(snrindB),
snr=10^(0.1*snrindB(i));
P2(i)=Qfunct(sqrt(2*snr));
P4(i)=2*Qfunct(sqrt(4*sn
www.eeworm.com/read/464335/7165228
m fibonacci.m
function f = fibonacci(n)
%FIBONACCI Fibonacci sequence
% f = FIBONACCI(n) generates the first n Fibonacci numbers.
f = zeros(n,1);
f(1) = 1;
f(2) = 2;
for k = 3:n
f(k) = f(k-1) + f(k-2);
www.eeworm.com/read/463748/7176084
m cm_f34.m
% script that generates the figure 3.4 of Carrier modulation chapter
snrindB=0:0.25:18;
for i=1:length(snrindB),
snr=10^(0.1*snrindB(i));
P2(i)=Qfunct(sqrt(2*snr));
P4(i)=2*Qfunct(sqrt(4*sn
www.eeworm.com/read/462318/7202839
m cm_f34.m
% script that generates the figure 3.4 of Carrier modulation chapter
snrindB=0:0.25:18;
for i=1:length(snrindB),
snr=10^(0.1*snrindB(i));
P2(i)=Qfunct(sqrt(2*snr));
P4(i)=2*Qfunct(sqrt(4*sn
www.eeworm.com/read/460812/7240438
m cp0201_bits.m
%
% FUNCTION 2.1 : "cp0201_bits"
%
% Generates a stream of equiprobable binary values ('bits')
% The number of bits ('numbits') is an input parameter
%
% Programmed by Guerino Giancola
%
fun