exit3.m
来自「压缩文件中是Error Correction Coding - Mathemat」· M 代码 · 共 33 行
M
33 行
load ldpcsim.mat% To plot the trajectory:% 1) Extract the mutual information using getinfs, which calls% getinf, which performs numerical integration using the histogram% 2) Stack the information up correctly according to the iteration number% using buildexit% 3) Plot the corresponding information with dotrajectory%% Putting all this together, for the data BtoCDataFile and CtoBDatafile,% the command is% dotrajectory(buildexit(getinfs(CtoBDataFile),getinfs(BtoCDataFile)),'r')%clfsubplot(2,2,1);dotrajectory(snr08_msgpass_exitpath01); tl = title('SNR=0.8 dB');set(tl,'fontsize',15);subplot(2,2,2);dotrajectory(snr04_msgpass_exitpath01); tl = title('SNR=0.4 dB');set(tl,'fontsize',15);subplot(2,2,3);dotrajectory(snr16_msgpass_exitpath01); tl = title('SNR=1.6 dB');set(tl,'fontsize',15);subplot(2,2,4);dotrajectory(snr18_msgpass_exitpath01); tl = title('SNR=1.8 dB');set(tl,'fontsize',15);input('press return');print -dps exit3.ps
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?