image thumbnail

positive degree day for normally distributed temperatures

version 1.0.0.0 (886 Bytes) by Aslak Grinsted
expected positive degree days per day

204 Downloads

Updated 22 Aug 2014

View License

PDD fraction in a normally distributed climate

Calculates the probability weighted positive degree days for normally distributed temperatures:
fPDD=int(normpdf(T,Tmu,sigma)*T,'T',0,inf)

Usage:
fPDD=normalpdd(Tmu,sigma)

Example:
T_june = 3; %degC
sigma_june = 7; %degC =std(daily_average_temps_june)
PDD_june=30*normalpdd(T_june,sigma_june) % units: degC*days
PDD_factor = 8e-3 %m/day/degC <- different factors exist in litterature.
melt_june = PDD_factor*PDD_june % meters of melt.

reference: Braithwaite 1985.

Aslak Grinsted 2012

Cite As

Aslak Grinsted (2021). positive degree day for normally distributed temperatures (https://www.mathworks.com/matlabcentral/fileexchange/47624-positive-degree-day-for-normally-distributed-temperatures), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!