Question: 1 . Develop a MATLAM function named rectangular ( R , theta ) to convert a given polar coordinate to rectangular coordinate using the

1. Develop a MATLAM function named rectangular(R,\theta ) to convert a given polar coordinate to rectangular coordinate using the following expressions,
X = R*cos(\theta ), Y = R*sin(\theta )
Where R is the radius, and \theta is the angle in degree with the positive x-axis. R and \theta also can also be vectors., which means you should use element-by-element multiplications.
Use fprintf()or disp() statement Inside the function to output the result as (X+Yi)
If you run the function rectangular() from the command window you will get the following result.

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 Programming Questions!