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

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

r2 2

Step by Step Solution

3.42 Rating (184 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Script file dispPart a r15 th123 r212 th240 r th AddVecPolr1th1r2t... View full answer

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

Document Format (1 attachment)

Word file Icon

652-B-F-F-M (741).docx

120 KBs Word File

Students Have Also Explored These Related Finance Questions!