MATLAB: I want to draw a graph..

graph

I want to draw a graph of the function y=sin(x)/x. How can I do it?

Best Answer

See plot():
x = 0:0.01:10;
y = sin(x)./x
plot(x, y);
Related Question