hp49g+ and vectors


i am writing a survey progarm and want to use vectors so that i can easily change coordinate systems, by going from rectangular to polar it will put my vectors into an azimuth and a distance. problem vectors read 0 going east and turn counterclock wise, i want 0 to be north and turn clockwise?
please help.


From a mathematical view point i think if you rotate your vector through 90 degrees about the Z or yaw axis and then about 180 degrees about the x or roll axis you should then get the vector in the required axis system. The result is that the azimuth angle will
be arctan(originalX/originalY) or arctan (newY/newX).

Edited: 6 Apr 2006, 4:53 a.m.


Hi, Chelsey;

I have already written many survey programs to either RPN- or RPL-based calculators, and the same circunstance applies. You see, there is no matter how the calculator counts or positions angles because it doesn't have any reference to quadrants. You just have to worry about how to create these cardinal references and how to identify in which quadrant the coordinate is located. If you enter

and asks for its argument, the HP49G+ returns
If you enter
the argumetn now is
If you consider that either (-200,-200) or (200,200) are coordinates and you have them already 'coded' as north, south, east or west by simply working with their signal, then it doesn't matter how the calculator interprets angles, you just need to work with the returned value as it is. Now, if you enter
and asks for its argument, the HP49G+ returns
and if you enter
the returned argument is
I do not have the listings right here, but I remember that these outputs did not cause me much trouble computing the azymuth.

If you need further info, let us know.


Luiz (Brazil)

Edited: 5 Apr 2006, 4:45 p.m.

Possibly Related Threads…
Thread Author Replies Views Last Post
  HP 50g - question about matrices arrays vectors etc. Sean Freeman 6 2,466 11-14-2013, 01:44 PM
Last Post: peacecalc
  HP Prime SIZE and OBJ-> with matrices/vectors/lists Helge Gabert 8 2,774 09-27-2013, 05:44 PM
Last Post: Helge Gabert
  [HP-prime] Parallel Processing, vectors, matrices as a only data type =( CompSystems 1 1,174 08-08-2013, 04:48 PM
Last Post: peacecalc
  HP-41C/CV/CX Eigenvalues/Vectors help mbrethen 2 1,126 02-06-2011, 02:41 AM
Last Post: Ángel Martin
  Vectors on 35s reto 8 2,025 10-09-2007, 03:27 PM
Last Post: John Wasilewski
  HP-35S vectors Antonio Maschio (Italy) 5 1,581 07-16-2007, 10:51 AM
Last Post: Antonio Maschio (Italy)
  HP49G+ and HP49G compatibility Les Wright 17 4,279 06-02-2006, 08:23 PM
Last Post: James M. Prange (Michigan)
  eigen values and eigen vectors Lorena 2 1,048 11-17-2005, 07:28 PM
Last Post: I, Claudius
  HP49G and HP49G+ emualtor Harry 4 1,535 12-05-2004, 09:11 PM
Last Post: Vieira, Luiz C. (Brazil)
  Vectors addition on HP28S JuanMi 2 940 09-29-2004, 10:12 AM
Last Post: JuanMi

Forum Jump: