Question: use matlab Wiite a function [r, theta] = polar_coordinates (x,y) that outputs polar coordinates r and theta for input coordinates x and y given by
Wiite a function [r, theta] = polar_coordinates (x,y) that outputs polar coordinates r and theta for input coordinates x and y given by two numbers. IMPORTANT: to make trings simple, assume that your x and y are two numbers (NOT vectors). Your the ta should be in degrees in the range between 0 and 360, Le. 0 theta
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
