Question: PLEASE ASAP Plot a sinusoid as follows: USING MATLAB Use linspace to create a vector called myangle containing 100 points from 0 to 4p. Create
PLEASE ASAP
Plot a sinusoid as follows: USING MATLAB
Use linspace to create a vector called myangle containing 100 points from 0 to 4p.
Create another vector called response containing the sine of myangle. (myangle is in radians.)
Plot response vs. myangle with a solid red line with no symbols.
Create another vector called cresponse containing the cosine of myangle.
Add another line to the plot containing cresponse. Use a black dotted line with circles for symbols. (Dont forget hold on before plotting the line, otherwise the first line will be erased.)
Write the result to a file in png format.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
