Full Vectorization of Solar Azimuth and Elevation Estimation
The excellent sun_position utility by Vincent Roy has been converted to an alternate library that accepts a [1XN] Julian vector in place of [Y,D,M,H,MI,S] and local hour offset and/or a [3XN] position vector in place of the location structure. Calculations with fixed time and varying location or fixed location and varying time can be used. Varying time and position calculations are suited for aircraft or satellite observations.
Cite As
Charles Rino (2026). Full Vectorization of Solar Azimuth and Elevation Estimation (https://uk.mathworks.com/matlabcentral/fileexchange/48594-full-vectorization-of-solar-azimuth-and-elevation-estimation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: SOLAR_GUI
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
SunPosition/
SunPosition/SunPosition_library/
| Version | Published | Release Notes | |
|---|---|---|---|
| 2.1.0.0 | Completed previous error correction |
||
| 2.0.0.0 | The error pointed out by John Wood and separately by Peter Albrecht has been corrected,
|
||
| 1.0.0.0 |
