3 lines
70 B
Matlab
3 lines
70 B
Matlab
function [rho,theta]=tran(x,y)
|
|
rho = sqrt(x^2 + y^2);
|
|
theta=atan(y/x); |
function [rho,theta]=tran(x,y)
|
|
rho = sqrt(x^2 + y^2);
|
|
theta=atan(y/x); |