x=0:0.001:20*pi %范围自己设定,这里我设的是0到20pi
y=sin(x)./x;
plot(x,y);
x=linspace(0.001, 5, 50);y=sin(x)./x;figure, plot(x, y);