代码搜索结果
找到约 8,364 项符合
N 的代码
hamming7_4.m
n = 7; %码长
k = 4; %信息位长
A = [ 1 1 1;1 1 0;1 0 1;0 1 1 ];
G = [ eye(k) A ]; %生成矩阵
H = [ A' eye(n-k) ]; %校验矩阵
%编码
msg = [ 1 1 1 1 ]; %信息比特
code = mod(ms
n.c
char_autoincr (b1, c)
short *b1;
short c;
{
*b1 = c;
}
rhh_test.m
N=128;
trms=4;
t_max=16;
Rhh=zeros(N,N);
for k=1:N
for l=1:N
Rhh(k,l)=(1-exp((-1)*t_max*((1/trms)+j*2*pi*(k-l)/N)))./(trms*(1-exp((-1)*t_max/trms))*((1/trms)+j*2*pi*(k-l)/N));
e
loopy_dbn1.m
N = 1; % single chain = HMM - should give exact answers
Q = 2;
rand('state', 0);
randn('state', 0);
discrete = 1;
if discrete
Y = 2; % size of output alphabet
else
Y = 1;
end
coupled = 1;
bnet =
online2.m
N = 1; % regular HMM
Q = 2;
ss = 2;
hnodes = 1;
onodes = 2;
rand('state', 0);
randn('state', 0);
O = 2;
discrete_obs = 1;
bnet = mk_chmm(N, Q, O, discrete_obs);
ns = bnet.node_sizes_slice;
engine =
nvimw.c
/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
N V I T E M M A N A G E R W R I T E S E R V I C E S
GENERAL DESCRIPTION
This module provides t
nvimr.c
/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
N V I T E M M A N A G E R R E A D S E R V I C E S
GENERAL DESCRIPTION
This module provides the
nvimnv.c
/*===========================================================================
N V I T E M M A N A G E R T A S K
DESCRIPTION
All the declarations and definitions necessa
nvimw.c
/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
N V I T E M M A N A G E R W R I T E S E R V I C E S
GENERAL DESCRIPTION
This module provides t
nvimr.c
/*====*====*====*====*====*====*====*====*====*====*====*====*====*====*====*
N V I T E M M A N A G E R R E A D S E R V I C E S
GENERAL DESCRIPTION
This module provides the