dm07304.m
来自「the code of the book come form the book 」· M 代码 · 共 17 行
M
17 行
%dm07304
%绘制非周期三角波
t=-3:0.01:3;
f1=tripuls(t);
subplot(3,1,1)
plot(t,f1)
axis([-3,3,-0.2,1.2])
set(gcf,'color','w')
f2=tripuls(t,4);
subplot(3,1,2)
plot(t,f2)
axis([-3,3,-0.2,1.2])
f3=tripuls(t,4,-1);
subplot(3,1,3)
plot(t,f3)
axis([-3,3,-0.2,1.2])
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?