Question: using matlab You are to write the code for two m-files that make plots as follows: A plot of the cosecant function over the range

using matlab You are to write the code for two m-files that make plots as follows: A plot of the cosecant function over the range from -pi to pi where the x-axis is in radians. The y-axis should go over the range from -10 to 10. Use the csc function to get the y values and use increments of 0.01 radians between vector elements for the x-values. A plot of the secant function from 0 to 360 where the x-axis is clearly expressed in degrees. The y-axis should go over the range from -10 to 10. Use the secd function ("secant in degrees") to get y values and use increments of 0.1 degrees between vector elements. If either (or both) plots have singularities such that a vertical line shows at the singularity value, you are to divide the plot up about the singularity using the built-in value eps (as we had done in class for the tangent of -pi/2 and pi/2). Once each plot is done, you are to format them as follows: Titles For the cosecant function, the title should by cosecant function and for the secant function, the title should be secant function. You are to use 20-pt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!