A MATLAB Script for Time and Coordinate Calculations

Interactive MATLAB script that can be used to perform time and coordinate calculations.
2.4K Downloads
Updated 8 May 2013

View License

PDF document and interactive MATLAB script called csystems.m which can be used to perform a variety of time and coordinate calculations. This script performs the following types of time calculations;

convert UTC calendar date and time to UTC Julian date, convert UTC Julian date to UTC calendar date and time, Greenwich apparent sidereal time, convert Universal Coordinated Time (UTC) to Terrestrial Time (TT), convert Universal Coordinated Time (UTC) to Barycentric Dynamical Time (TDB), convert Barycentric Dynamical Time (TDB) to Universal Coordinated Time (UTC)

The csystems script can also be used to perform the following types of coordinate calculations;

convert geodetic coordinates to eci position vector, convert eci state vector to ecf state vector, convert eci state vector to classical orbital elements, convert classical orbital elements to eci state vector, convert flight path coordinates to eci state vector, convert eci state vector to relative flight path coordinates, convert classical orbital elements to modified equinoctial elements, convert modified equinoctial elements to classical orbital elements, convert osculating orbital elements to mean elements, convert eci state vector to Two Line Elements (TLE)

Cite As

David Eagle (2024). A MATLAB Script for Time and Coordinate Calculations (https://www.mathworks.com/matlabcentral/fileexchange/41681-a-matlab-script-for-time-and-coordinate-calculations), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
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