%------------------------------------------------------------------------- % exa100802_tfe.m, for example 10.8.2, % to test tfe…
Hamming 源代码
探索Hamming编码的精妙世界,这里汇集了36个精选资源,专为电子工程师设计。Hamming码以其强大的错误检测与纠正能力,在数据传输、存储及通信系统中扮演着至关重要的角色。无论是初学者还是资深开发者,都能在此找到关于Hamming距离计算、编码实现及其在数字信号处理中的应用实…
%ex0806.m 用ode113(),MyHamming(),解微分方程y'=-y+1 clear, clf x0 = 0; %积分区域开始值 xt = 10; %积分区域终止值 y0 = 0; %y初值 N = 50; %离散点数 fun66 …
function [win,N2]=window(fr) %figure(i); N2=160; deltaw1=pi/N2; B=hamming(N2); win=fr(1:N2); for k=1:N2 win(k)…
function trt = htruthtb(g) %HTRUTHTB Generates a Hamming code truth table. % TRT = HTRUTHTB(G) produces a truth table for …
function [ret,x0,str,ts,xts]=tsthammc(t,x,u,flag); %TSTHAMMC is the M-file description of the SIMULINK system named TSTHAMMC. % …
function [ret,x0,str,ts,xts]=comcdham(t,x,u,flag); %COMCDHAM is the M-file description of the SIMULINK system named COMCDHAM. % …
function [ret,x0,str,ts,xts]=tsthamsq(t,x,u,flag); %TSTHAMSQ is the M-file description of the SIMULINK system named TSTHAMSQ. % …
function [ret,x0,str,ts,xts]=tstcyclc(t,x,u,flag); %TSTCYCLC is the M-file description of the SIMULINK system named TSTCYCLC. % …
-- Hamming Decoder -- This Hamming decoder accepts an 8-bit Hamming code (produced by the encoder above) and performs single erro…
-- Hamming Encoder -- A 4-bit Hamming Code encoder using concurrent assignments. -- The output vector is connected to the indiv…