📄 untitled22222.asv
字号:
Tc=0.5e-9;
Taw=0.2333e-9;
A=1;
t1=0:0.01e-9:1e-9;
a1=4.*pi.*((t-Tc)./Taw).^2;
a2=exp(-2.*pi.*((t-Tc)./Taw).^2);
s=(1-a1).*a2;
t2=0.01e-9:1e-9;
k=5;
a=0.7;
K=(1-k)./(1+k);
X=exp(-K.*a.*t./2);
x1=[1 zeros(1,t-1)];
x2=4.*k.*exp(-a.*t)./(1-k.^2);
x3=K.*X./2+(1-K)./2.*K-a.*t.*X./4;
r=K.*x1+x2.*x3;
ts=min(t1)+min(t2);
te=max(t1)+max(t2);
t0=ts:t:te;
w=conv(s,r);
subplot(2,2,1);
plot(t1,s);
grid on ;
subplot(2,2,2);
plot(t2,r);
grid on;
subplot(2,2,3);
plot(t0,w);
grid on;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -