% File: c8_cerdemo.m % Software given here is to accompany the textbook: W.H. Tranter, % K.S. Shanmugan, T.S. Rappaport, and K.…
Hamming 源代码
探索Hamming编码的精妙世界,这里汇集了36个精选资源,专为电子工程师设计。Hamming码以其强大的错误检测与纠正能力,在数据传输、存储及通信系统中扮演着至关重要的角色。无论是初学者还是资深开发者,都能在此找到关于Hamming距离计算、编码实现及其在数字信号处理中的应用实…
%---------------------------------------------------------------------------- % exa030903, for example 3.9.3 % to obtain the DT…
%------------------------------------------------------------------------- % exa100802_tfe.m, for example 10.8.2, % to test tfe…
//Real and immaginary values for twiddle factors fix Wn_Re[N]={ #include "Wn256_Re.dat" }; fix Wn_Im[N]={ #include "Wn256_I…
st1 = 27221; st2 = 4831; %定义随机数产生的状态 n = 7; k = 4; %汉明码的参数 msg = randint(k*500,1,2,st1); %信息序列 code = encode(…
/* ID: chenkai4 PROG: hamming LANG: C++ */ #include #include using namespace std; int N,B,D;int now=1; int nums[65]={…
% Chapter 07: Example 7.12 Differentiator design - Hamming window % M = 21; alpha = (M-1)/2; n = 0:M-1; hd = (cos(pi*(n-alpha)…
%----------------------------------------------------------------------------- % exa060204_hamming.m , for example 6.2.4 % draw …
%----------------------------------------------------------------------------- % exa060301_hammlow.m , for example 6.3.1 % use h…
function En = energy(x,wintype,winamp,winlen) %ENERGY Short-time energy computation. % y = ENERGY(X,WINTYPE,WINAMP,WINLEN) c…