Question: 2. Write a user-defined MATLAB function for the following math function: The input to the function is (in radians) and the output is r. Write
2. Write a user-defined MATLAB function for the following math function:
The input to the function is (in radians) and the output is r. Write the function such that can be a vector.
(a) Use the function to calculate r( /6) and r(5 /6).
(b) Use the function to plot (polar plot) r( ) for .
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
