超前滞后码跟踪环路(DLL)的热噪声曲线源码程序,程序员在编程的过程中可以参考学习使用,希望对IT程序员有用,此源码程序简单易懂、方便阅读,有很好的学习价值!
clear all;
close all;
%绘制超前滞后码跟踪环路(DLL)的热噪声曲线
fplot('sqrt(0.5*(1+2/(0.02*10^(x/10)))/(2*10^(x/10)))',[10,45,0,0.2]);
%注:0.5为环路带宽;0.02为预检测积分时间T;一般为伪码宽度20ms,x为载噪比C/N0,它与c/n0的转换关系为:C/N0=10log10(c/n0),则c/n0=10^(C/N0/10)。
hold on;
fplot('sqrt(1*(1+2/(0.02*10^(x/10)))/(2*10^(x/10)))',[10,45,0,0.2]);
hold on;
fplot('sqrt(2*(1+2/(0.02*10^(x/10)))/(2*10^(x/10)))',[10,45,0,0.2]);
hold on;
fplot('sqrt(4*(1+2/(0.02*10^(x/10)))/(2*10^(x/10)))',[10,45,0,0.2]);
hold on;
fplot('sqrt(10*(1+2/(0.02*10^(x/10)))/(2*10^(x/10)))',[10,45,0,0.2]);
hold on;
fplot('0.166',[10,45,0,0.2],':');
%注:0.166为门限值
% hold on;
xlabel('C/N_0 (dB-Hz)')
ylabel('σ_t_D_L_L (chips)');
title('超前减滞后非相关延迟锁定环的热误差曲线');
box('on');