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(3π/4) and r(7π/4).
(b) Use the function to plot (polar plot) r(θ) for 0 ≤ θ ≤ 2π.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.