Here’s my jit.gen solution for azimuth and elevation. Distance is also calculated in it, just needs an additional output. Particularity of my system is that the 2 coordinates are input as 3-plane 1×1 matrices. Easy enough to change to your needs.
Jun 9, 2012 at 2:47pm #175933