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)

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

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Databases Questions!