#N canvas 537 0 450 300 10; #X obj 69 114 mtx 3 1; #X text 169 70 2 ey; #X msg 26 49 1 0 1.5708; #X obj 69 147 mtx_sph2cart; #X msg 69 71 2 1.5708 1.5708; #X msg 97 91 3 0 0; #X text 144 94 3 ez; #X obj 69 191 mtx_print xyz; #X text 19 11 converting spherical to carteisan coordinates; #X text 264 202 Franz Zotter \, 2009; #X text 99 49 1 ex; #X text 219 62 input matrices have the shape 3xL; #X text 221 76 and may contain L points; #X text 219 93 [ r \; phi \; theta ]; #X text 215 143 r... radius; #X text 215 156 phi... azimuth angle; #X text 215 169 theta.. zenith angle; #X text 239 243 see also; #X obj 298 243 mtx_cart2sph; #X connect 0 0 3 0; #X connect 2 0 0 0; #X connect 3 0 7 0; #X connect 4 0 0 0; #X connect 5 0 0 0;