⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 computebersoftdecisionunquantized.m

📁 Computes BER v EbNo curve for convolutional encoding / soft decision Viterbi decoding scheme assum
💻 M
字号:
function Pb=ComputeBerSoftDecisionUnquantized(EbNodBvals, Bd, coderate)

% Pb=ComputeBerDoftDecisionUnquantized(EbNodBvals, Bd, coderate)
% computes BER for unquantized (continuous) soft decision VA decoding
% based on the information-bit WEF
% The BER v Eb/No curve is also plotted
%
% See also EstimateBitWEF ComputeBerSoftDecisionQuantized

%
% (c) Dr B. Gremont, 2007
Pb=zeros(size(EbNodBvals));
for i=1:length(EbNodBvals)
     EbNo=10.^(EbNodBvals(i)./10);
     d=1:length(Bd);
     Pb(i)=sum(Bd.*q(sqrt(2.*d.*EbNo.*coderate)));
end
% figure(2)
% semilogy(EbNodBvals,Pb)
% xlabel('Eb/No [dB]')
% ylabel('BER')
% axis([0 8.5 10.^(-6) 1])

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -