| mapc2p.m.html | |
| Source file: mapc2p.m | |
| Directory: /Users/rjl/clawpack_src/clawpack_master/classic/examples/advection_2d_annulus | |
| Converted: Sat Apr 18 2020 at 16:46:54 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);