?? zpulstran.m
字號:
%產生所指定的沖擊串波形
t1=0:1/1e3:1;
d1=0:1/3:1;
y1=pulstran(t1,d1,'tripuls',0.1,-1);
subplot(3,1,1),
plot(t1,y1); %產生三角波
t2=0:1/50e3:10e-3;
d2=[0:1/1e3:10e-3;0.8.^(0:10)]'
y2=pulstran(t2,d2,@gauspuls,10e3,0.5);
subplot(3,1,2),
plot(t2,y2); %產生高斯調制正弦信號
p=raylpdf((0:31)/5,1.5);
t3=0:320;
d3=(0:9)'*32;
y3=pulstran(t3,d3,p);
subplot(3,1,3),
plot(t3,y3); %產生所指定的脈沖信號
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -