geodesic
No License
GEODESIC solves geodesic problems concerning three types of surface.
By using variational method
(1) a right cylinder with a circular cross section
(2) a right cone with a circular base
(3) a sphere
The parametric expression and the length of the geodesic can be obtained. The results are displayed in 3-D plots. Generally, two curve can be obtained: one is the correct geodesic; the other is the conjugate geodesic which is longer than the correct one.
r, h: geometry of the surface.
surface: surface type.
theta1, z1, xi1: the first ending points in local coordinates
theta2, z2, xi2: the second ending points in local coordinates
x, y, z: parametric expression of the geodesic
cx,cy,cz: parametric expression of the conjugate geodesic
Note:
1. Symbolic Toolbox is necessary to this program for solving the constants in the parametric expression of conical or spherical geodesic
Cite As
Lei Wang (2024). geodesic (https://www.mathworks.com/matlabcentral/fileexchange/6522-geodesic), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Mapping Toolbox > Geometric Geodesy >
- Radar > Mapping Toolbox > Geometric Geodesy >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |