代码搜索:Generates
找到约 10,000 项符合「Generates」的源代码
代码结果 10,000
www.eeworm.com/read/476907/6754428
m multi_gp.m
function [x] = multi_gp(m,C)
% [x]=multi_gp(m,C)
% MULTI_GP generates a multivariate Gaussian random
% process with mean vector m (column vector) and covariance matrix C.
N=length(m);
for
www.eeworm.com/read/264638/11307884
m tx_modulate.m
function mod_symbols = tx_modulate(bits_in, modulation)
full_len = length(bits_in);
% BPSK modulation
if ~isempty(findstr(modulation, 'BPSK'))
% Angle [pi/4 -3*pi/4] corresponds to
%
www.eeworm.com/read/264522/11311009
m tx_modulate.m
function mod_symbols = tx_modulate(bits_in, modulation)
full_len = length(bits_in);
% BPSK modulation
if ~isempty(findstr(modulation, 'BPSK'))
% Angle [pi/4 -3*pi/4] corresponds to
%
www.eeworm.com/read/407662/11412479
m random_data.m
function b = random_data(nr_data_bits)
% b = random_data(nr_data_bits)
%
% Generates a block of equiprobable random binary data, {0, 1}
%
% Input:
% nr_data_bits = the number of bits to genera
www.eeworm.com/read/406664/11437983
c alg16.c
#include
#include
class even_by_twos {
public:
even_by_twos( int seed = 0 ) : _seed( seed ){}
int operator()() { return _seed += 2; }
private:
int _seed;
};
templat
www.eeworm.com/read/402272/11539922
cpp genera2.cpp
/* The following code example is taken from the book
* "The C++ Standard Library - A Tutorial and Reference"
* by Nicolai M. Josuttis, Addison-Wesley, 1999
*
* (C) Copyright Nicolai M. Josutti
www.eeworm.com/read/400577/11572563
m lines5d.m
%LINES5D Generates three 5-dimensional lines
%
% A = LINES5D(N);
%
% Generates a data set of N points, on 3 non-crossing, non-parallel lines
% in 5 dimensions.
%
% If N is a vector of sizes, exactly
www.eeworm.com/read/158463/11612979
m multi_gp.m
function [x] = multi_gp(m,C)
% [x]=multi_gp(m,C)
% MULTI_GP generates a multivariate Gaussian random
% process with mean vector m (column vector), and covariance matrix C.
N=length(m);
for i=1:
www.eeworm.com/read/157007/11745224
c alg16.c
#include
#include
class even_by_twos {
public:
even_by_twos( int seed = 0 ) : _seed( seed ){}
int operator()() { return _seed += 2; }
private:
int _seed;
};
templat
www.eeworm.com/read/259722/11771465
c alg16.c
#include
#include
class even_by_twos {
public:
even_by_twos( int seed = 0 ) : _seed( seed ){}
int operator()() { return _seed += 2; }
private:
int _seed;
};
templat