How to plot crosstalk graph with BER
2 ビュー (過去 30 日間)
古いコメントを表示
Hi all,,,
I tried following code to calculate BER with crosstalk. I dont know if its correct or not....If its wrong then whats the correct way to do it?and i need to arrange format for it in asuitable form .
clc;
XT=[-25 -24 -23 -22 -21.5 -21 -20.5 -20 -19.5 -19 -18.5 -18 -17.5 -17 -16.5 -16 -15.5 -15 -14.5 -14 -13.5];
y1=[0 2.4*10^-4 1.2*10^-4 3.7*10^-4 3.7*10^-4 3.7*10^-4 9.8*10^-4 6.1*10^-4 3.7*10^-4 1.6*10^-3 1.8*10^-3 3.7*10^-3 4.4*10^-3 4.9*10^-3 3.5*10^-3 6.8*10^-3 8.3*10^-3 9.3*10^-3 1.2*10^-2 1.8*10^-2 2.2*10^-2 ];
y2=[0 0 2.4*10^-4 6.1*10^-4 7.3*10^-4 9.8*10^-4 1.3*10^-3 1.8*10^-3 3.2*10^-3 4.5*10^-3 7.3*10^-3 9.3*10^-3 1.1*10^-2 1.5*10^-2 2.1*10^-2 3.0*10^-2 3.8*10^-2 5.0*10^-2 5.4*10^-2 6.5*10^-2 7.1*10^-2 ];
y3=[0 0 1.2*10^-4 3.7*10^-4 3.7*10^-4 4.9*10^-4 4.9*10^-4 6.1*10^-4 8.5*10^-4 8.5*10^-4 1.7*10^-3 2.6*10^-3 4.4*10^-3 7.6*10^-3 9.5*10^-3 1.4*10^-2 2.0*10^-2 2.6*10^-2 3.2*10^-2 3.8*10^-2 4.6*10^-2];
xlabel('Crosstalk(dB)','Fontsize',16)
ylabel('BER','Fontsize',16)
semilogy(XT,y1,'K','linewidth',2);
hold on
semilogy(XT,y2,'re','linewidth',2);
hold on
semilogy(XT,y3,'bl','linewidth',2);
hold on
Regards
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!