[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8377] Added new 3D Coordinate system conv
From: |
anonymous |
Subject: |
[Octave-patch-tracker] [patch #8377] Added new 3D Coordinate system conversion functions for Geodesy in Mapping toolbox |
Date: |
Wed, 20 Mar 2019 06:31:24 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0 |
Follow-up Comment #20, patch #8377 (project octave):
Michael Hirsch continued from Felipe's code
https://github.com/scivision/matmap3d
There are test cases and additional information, which could be converted to
Octave style:
I did this for aer2enu
++
help aer2enu
-- Function File: E, N, U = aer2enu (AZ, EL, SLANTRANGE, ANGLEUNIT)
converts azimuth, elevation, range to ENU coordinates
Inputs
----
az, el, slantrange: look angles and distance to point under test(degrees,
degrees, meters)
az: azimuth clockwise from local north
el: elevation angle above local horizon
angleUnit: string for angular units. Default 'd': degrees
Outputs
-----
e,n,u: East, North, Up coordinates of test points (meters)
Example:
[e, n, u] = aer2enu (33, 70, 1e3)
e = 186.28
n = 286.84
u = 939.69
With radians
[e, n, u] = aer2enu (pi/4, pi/3,1e3, "radians")
e = 353.55
n = 353.55
u = 866.03
Additional help for built-in functions and operators is
available in the online version of the manual. Use the command
'doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.
--
I also added more checks
++
>> test aer2enu
PASSES 7 out of 7 tests
--
The license is BSD 2-Clause License. I am unclear with the licensing, so I
have not attached the file. If I am not violating anything I will attach it.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/patch/?8377>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-patch-tracker] [patch #8377] Added new 3D Coordinate system conversion functions for Geodesy in Mapping toolbox,
anonymous <=