Sun Position
Versión 2.1.1 (334 KB) por
Jeff Dozier
Contains functions for declination, solar longitude, radius vector, equation of time, times of sunrise and sunset, sun angles and azimuths.
Uses the distance function from the MATLAB Mapping Toolbox to calculate the arc distance to the sub-solar location. Includes checkSizes function from my general function library.
EarthEphemeris - Returns the solar declination, Earth-Sun radius vector (distance in astronomical units), solar longitude, and optionally the equation of time.
sunang - Returns cosine of sun angle, its azimuth (0 south, + east), and airmass (path length accounting for Earth curvature). Optionally accounts for refraction.
sunRiseSet - Times of sunrise and sunset.
sunslope - Cosine of illumination angle on slope
Citar como
Jeff Dozier (2025). Sun Position (https://www.mathworks.com/matlabcentral/fileexchange/126625-sun-position), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2022b
Compatible con cualquier versión desde R2014b
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
util
Examples
doc
Versión | Publicado | Notas de la versión | |
---|---|---|---|
2.1.1 | I modified the date handling to follow MATLAB guidance on "Replace Discouraged Instances of Serial Date Numbers and Date Strings." |
|
|
2.1 |
|