x = linspace(0,2*pi,100); % define 100 x values from 0 to 2 pi y = sin(x); % calculate sin(x) plot(x,y) % plot y vs. x % set the plot limits on the x and y ...
確定! 回上一頁