Try in MATLAB Mobile. x=-pi:0.1:pi;. y=sin(x);. plot(y) % this plots from 0 to 2 pi on the x-axis. plot(x,y) % this plots from -pi to pi.. etc.
確定! 回上一頁