📄 zdiric.m
字号:
%产生Dirichlet函数波形
x=0:0.01:8*pi;
y1=diric(x,5); %n为奇数时,周期为2*pi
y2=diric(x,4); %n为偶数时,周期为4*pi
subplot(2,1,1),
plot(x,y1);
axis tight;
subplot(2,1,2),
plot(x,y2);
axis tight;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -