資源簡介
使用循環碼和不使用循環碼的性能對比 使用matlab進行仿真
代碼片段和文件信息
bits=70000;
msg=randint(bits12);
SNR=0:1:12;
L=length(SNR);
BER1=zeros(1L);
BER2=zeros(1L);
modbit1=pskmod(msg2);
for?k=1:L
????y1=awgn(modbit1SNR(k)‘measured‘);
????demmsg1=pskdemod(y12);
????recode=reshape(demmsg1‘1[]);
????error1=(recode~=msg‘);
????errorbits=sum(error1);
????BER1(k)=errorbits/length(msg);
end
code=encode(msg157‘cyclic‘[1?0?0?0?1?0?1?1?1]);
modbit2=pskmod(code2);
f
- 上一篇:圖像縮放,用MATLAB仿真,經典圖像縮放
- 下一篇:視頻移動目標檢測
評論
共有 條評論