Daylength Function

Function that outputs the daylength by Latitude input

You are now following this Submission

This function plots the Daylength (hours) for a year-round due to Latitude input.
Input: Latitude [degrees]
Output: Minimum daylength, maximum daylength and year daylength plot

Based on:
W. Forsythe, E. Rykiel, R. Stahl, H. Wu and R. Schoolfield, "A model comparison for daylength as a function of latitude and day of year", Ecological Modelling, vol. 80, no. 1, pp. 87-95, 1995.

Cite As

gubertoli (2026). Daylength Function (https://se.mathworks.com/matlabcentral/fileexchange/55702-daylength-function), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Gravitation, Cosmology & Astrophysics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0