geodesic

Version 1.0.0.0 (2.28 KB) by Lei Wang
GEODESIC solves geodesic problems concerning three types of surface.
3.1K Downloads
Updated 15 Dec 2004

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
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0