g.m

来自「基于matlab的gmsk信号的调制」· M 代码 · 共 16 行

M
16
字号
function y=g(t)
%global a T B
%B为3db带宽
%GMSK中B*T=0.3
%T为码元周期
%a是决定filter性能的参数
T=1/270833;%s
B=0.3/T;%t=[-2.5/270833:0.0000001:2.5/270833];
a=sqrt(log(2)/2)/B;
y=1/4/T*erfc(pi/a*(t-T/2))-1/4/T*erfc(pi/a*(t+T/2));
%example is as follows:
%t=[-0.00000923:0.00000001:0.00000923];
%g=1/4/0.000003692*erfc(pi/0.000007245*(t-0.00000134))-1/4/0.000003692*erfc(pi/0.000007245*(t+0.00000134));
%plot(t,y)
%quad(@g,-2.5*T,2.5*T)
end

⌨️ 快捷键说明

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