Description Usage Arguments Examples
View source: R/cartesean_to_polar.R
Get polar coordinates froma a cartesean grid
1 | cartesianToPolar(xy.grid)
|
xy.grid |
A list containing the 'x' and 'y' matrices for the cartesian cooridantes returns a list of 'theta' the radian angle (range, -pi to pi) and corresponding 'distance' matrices |
1 2 | xycoord = meshgrid(x = 1:5, y = 1:5)
cartesianToPolar(xycoord)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.