1、t = -pi:pi/100:pi;
2、y = sin(t);
3、plot(t,y)
4、axis([-pi pi -1 1])
5、xlabel('-\pi \leq {\itt} \leq \pi')
6、ylabel('sin(t)')
7、title('Graph of the sine function')
8、text(0.5,-1/3,'{\坡纠课柩itNote the odd symmetry.}')
1、t = -pi:pi/100:pi;
2、y = sin(t);
3、plot(t,y)
4、axis([-pi pi -1 1])
5、xlabel('-\pi \leq {\itt} \leq \pi')
6、ylabel('sin(t)')
7、title('Graph of the sine function')
8、text(0.5,-1/3,'{\坡纠课柩itNote the odd symmetry.}')