The following is an excerpt from my MS thesis where I discuss the probability distribution (pdf) calculations I developed for the winds in southeastern Wyoming.

The WindSpeedsSummer.csv is a file containing three-hourly wind speed data, both observed (Obs) and generated from a model (Model) for 2008, 2009 and 2010.

The ProbDistWind.m is a MATLAB script I wrote that imports the .csv data and calculates Weibull distribution based on 1.5 m/s bins.

NOTE: the 2008 record was longer because it was a leap year-- that's why the 2008 data had to be calculated individually (what the LONGS vector refers to) and the other years together (the SHORTS vector)

I copied the Weibull parameters (from weib_store_long in MATLAB) into the Excel file WindSpeeds.xlsx under the Charts tab.

From there I was able to generate several pdfs.

I discuss what they mean in the Analysis-Excerpt PDF. (Sorry for the confusion between pdf (math) and PDF (file))

