In polar coordinates a two-dimensional vector is given by its radius and angle (r, e). Write a

Question:

In polar coordinates a two-dimensional vector is given by its radius and angle (r, e). Write a user-defined MATLAB function that adds two vectors that are given in polar coordinates. For the function name and arguments, use
[r th] = AddVecPol (rl, thl, r2, th2),
where the input arguments are (r1, θ1) and (r2, θ2), and the output arguments are the radius and angle of the result. Use the function to carry out the following additions:
(a) r1 = (5, 23°), r2 = (12, 40°)
(b) r1 = (6, 80°), r2 = (15, 125°)
In polar coordinates a two-dimensional vector is given by its
Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: