Here is the typical setup to do an extreme value analysis on MATLAB: Load (City Name) – .csv files will be created for all cities included in the study m = (1:No. of Annual Max); N = No. of Annual Max; Pv = (m-0.44)/(N+0.12); x = -log(-log(Pv(1:No. of Annual Max)); plot (City Name',x) Once the graph is created, you can fit linear interpolation to it. Go to "Tools"? "Basic Fitting" ? Linear Check "Show Equations" box, and bring it out to 5 significant digits Go to "Find Y=f(X)" and type in 4.600149 to evaluate f(X) for an 100-year wind. Other aesthetic changes can be made from the toolbar at the top of the graphical representation.