📄 wuqiongxiao_yanshi.m
字号:
%example3_1.m
close all
close all
t=-4:0.1:4;
y1=sin(pi*t)./(pi*t);
y2=sin(pi*t+eps)./(pi*t+eps);
subplot(211);plot(t,y1);grid;
title('sin(\pi*t)/(\pi*t)');
axis([-4 4 -0.5 1.5]);
subplot(212);plot(t,y2);grid;
title('sin(\pi*t+eps)/(\pi*t+eps)');
axis([-4 4 -0.5 1.5]);
N=round(length(t)/2);
%显示t=0附近的函数值
data1=y1(N-2:N+2)
data2=y2(N-2:N+2)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -