-- Hamming Encoder -- A 4-bit Hamming Code encoder using concurrent assignments. -- The output vector is connected to the indiv…
Hamming 源代码
探索Hamming编码的精妙世界,这里汇集了36个精选资源,专为电子工程师设计。Hamming码以其强大的错误检测与纠正能力,在数据传输、存储及通信系统中扮演着至关重要的角色。无论是初学者还是资深开发者,都能在此找到关于Hamming距离计算、编码实现及其在数字信号处理中的应用实…
%exa139_hamming_interative.m for example 1-39 %hamming interative sequence海明窗迭代序列 clear all; p=hamming(32); t=0:320; d=(0:9)'…
%---------------------------------------------------------------------------- % exa030903, for example 3.9.3 % to obtain the DT…
%------------------------------------------------------------------------- % exa100802_tfe.m, for example 10.8.2, % to test tfe…
clear; close all; N=21; wc=3*pi/4; n=0:N-1; r=(N-1)/2; hdn=-sin(wc*(n-r))/pi./(n-r); if rem(N,2)~=0 hdn(r+1)=1-(wc/pi)…
clear all; N=10; b1=fir1(N,0.25,boxcar(N+1)); b2=fir1(N,0.25,hamming(N+1)); M=128; h1=freqz(b1,1,M); h2=freqz(b2,1,M); t=0:…
function S=scd(R,window) % % SCD Compute the spectral correlation density of a signal % from its cyclic auto…
f=hamming(20); figure(10); plot(f); g=fft(f,512*512); g=reshape(g,512*256,2); g=fliplr(g); g=reshape(g,512*512,1); x=-(512*…
% eyediag.m plot eye diagrams for pulse shape ps N=1000; m=pam(N,2,1); % random signal of length N M=20; mup=zer…
function [S,f,k] = fk(d,dt,dx,L); %FK: compute FK spectrum of a seismic gather. % % [S,f,k] = fk(d,dt,dx,L); % % IN d: da…