Full Vectorization of Solar Azimuth and Elevation Estimation

sun_postion by Vicent Roy vectorization in both time and location

You are now following this Submission

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://www.mathworks.com/matlabcentral/fileexchange/48594-full-vectorization-of-solar-azimuth-and-elevation-estimation), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: SOLAR_GUI

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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,
Errors noted by Michalis Florides as indicated in earth_heliocentric_position_calculationR have been corrected.
The author thanks the users.

1.0.0.0