hp49g+ and vectors « Next Oldest | Next Newest »

 ▼ Chelsey Unregistered Posts: 1 Threads: 1 Joined: Jan 1970 04-05-2006, 10:34 AM 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. ▼ Chris Dean Unregistered Posts: 120 Threads: 9 Joined: Aug 2005 04-05-2006, 12:18 PM 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. Vieira, Luiz C. (Brazil) Unregistered Posts: 4,027 Threads: 172 Joined: Aug 2005 04-05-2006, 04:41 PM 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`(-200,-200)`and asks for its argument, the HP49G+ returns`-135`If you enter`(200,200)`the argumetn now is`45`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`(200,-200)` and asks for its argument, the HP49G+ returns`-45`and if you enter`(-200,200)`the returned argument is`135`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. Cheers. 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,471 11-14-2013, 01:44 PM Last Post: peacecalc HP Prime SIZE and OBJ-> with matrices/vectors/lists Helge Gabert 8 2,778 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,127 02-06-2011, 02:41 AM Last Post: Ángel Martin Vectors on 35s reto 8 2,028 10-09-2007, 03:27 PM Last Post: John Wasilewski HP-35S vectors Antonio Maschio (Italy) 5 1,582 07-16-2007, 10:51 AM Last Post: Antonio Maschio (Italy) HP49G+ and HP49G compatibility Les Wright 17 4,281 06-02-2006, 08:23 PM Last Post: James M. Prange (Michigan) eigen values and eigen vectors Lorena 2 1,049 11-17-2005, 07:28 PM Last Post: I, Claudius HP49G and HP49G+ emualtor Harry 4 1,536 12-05-2004, 09:11 PM Last Post: Vieira, Luiz C. (Brazil) Vectors addition on HP28S JuanMi 2 941 09-29-2004, 10:12 AM Last Post: JuanMi

Forum Jump: