Question: 1. in Matlab, write a user-defined function, with two input (r,theta) , expressed in degrees) and two output arguments (X,Y). The inputs are a location

1. in Matlab, write a user-defined function, with two input (r,theta) , expressed in degrees) and two output arguments (X,Y). The inputs are a location on a polar coordinates corresponding to Cartesian plane expressed in rectangular coordinates. The picture below describes the problem. X, Y rcos Some formula that you may need: x = r * cos (theta * pi/180); y r * sin(theta * pi/180); Test your code for r=7, theta=55 and present your results
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
