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

📄 bpskprobplotter.m

📁 压缩文件中是Error Correction Coding - Mathematical Methods and Algorithms(Wiley 2005)作者:(Todd K. Moon )的配
💻 M
字号:
% set up stuff for bpskprob% Copyright 2004 by Todd K. Moon% Permission is granted to use this program/data% for educational/research onlyP0 = 0.5;  % =P(+Eb)P1 = 1-P0;  % P(-Eb)R = 1;bpskprob;figure(1);clfsemilogy(snrlist,plist);xh=xlabel('E_b/N_0 (dB)');yh = ylabel('Probability of bit error');grid onset(gca,'fontsize',15)set(xh,'fontsize',15)set(yh,'fontsize',15)print -dps bpskprob.psfigure(2);clfsemilogy(snrlist,plist);  % plot the old rate 1 stuffgrid ondrawnow hold on;P0 = 0.5;  % =P(+Eb)P1 = 1-P0;  % P(-Eb)R = 1/2;bpskprob;semilogy(snrlist,plist,'--');P0 = 0.5;  % =P(+Eb)P1 = 1-P0;  % P(-Eb)R = 1/3;bpskprob;semilogy(snrlist,plist,'-.');xh=xlabel('E_b/N_0 (dB)');yh = ylabel('Probability of bit error');set(gca,'fontsize',15)set(xh,'fontsize',15)set(yh,'fontsize',15)legend('Rate R=1','Rate R=1/2', 'Rate R=1/3')print -dps bpskprobR.psreturn; hold on;P0 = 0.25;  % =P(+Eb)P1 = 1-P0;  % P(-Eb)bpskprob;semilogy(snrlist,plist,'--');hold on;P0 = 0.1;  % =P(+Eb)P1 = 1-P0;  % P(-Eb)bpskprob;semilogy(snrlist,plist,':');

⌨️ 快捷键说明

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