mtx_sph2cart
mtx_sph2cart converts spherical coordinates to Cartesian coordinates in matrix form. Its input must be a 3×L matrix representing L points as [r; phi; theta], where r is radius, phi is the azimuth angle, and theta is the zenith angle.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search foriemmatrixand install it. Then create an object withdeclare -lib iemmatrix -path iemmatrix. Finally, usemtx_sph2cartor any other object fromiemmatrix.