Plot a sine wave using sin(x) from 0 to 360 degrees. Use the MATLAB function deg2rad() to assign a value of 360 degrees to a variable rad. Assign 200 to a variable NumberOfPoints. Use the MATLAB function linspace(0, rad, NumberOfPoints) to create a vector named x. Create an assignment statement y = sin(x). Plot(x, y).
0.8
0.6
0.4
0.2
0
-0.2
-0.4
-0.6
-0.8
0
1
2
3
4
5
6
7