| mapc2p.m.html | |
| Source file: mapc2p.m | |
| Directory: /Users/rjl/git/clawpack/amrclaw/examples/advection_2d_annulus | |
| Converted: Wed Dec 28 2016 at 22:36:50 using clawcode2html | |
| This documentation file will not reflect any later changes in the source file. |
function [xp,yp] = mapc2p(xc,yc) % Map to polar coordinates. xp = xc.*cos(yc); yp = xc.*sin(yc);