Description Usage Arguments Examples
Utility function to convert rectangular (Euclidean) coordinates to polar coordinates.
1 | rectToPolar(x,y)
|
x |
x-axis in rectangular coords |
y |
y-axis in rectangular coords |
1 2 3 | x = runif(100,-1,1)
y = runif(100,-1,1)
polar_coords = rectToPolar(x,y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.