approxECISunPosition
Given Gregorian year(s), day(s), and time(s) in UTC, calculate Earth-centered inertial (ECI) coordinates (in meters) of the vector(s) pointing from Earth's center to the center of the Sun.
Encapsulated by Seth B. Wagenman, from:
stargazing.net/kepler/sun.html as corrected by:
https://astronomy.stackexchange.com/a/37199/34646, along with
other minor corrections based on recent revisions to the ecliptic plane. Obliquity of the ecliptic plane formula mostly derived from:
https://en.wikipedia.org/wiki/Ecliptic#Obliquity_of_the_ecliptic
Cite As
Seth Wagenman (2026). approxECISunPosition (https://uk.mathworks.com/matlabcentral/fileexchange/78766-approxecisunposition), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
