The program takes several sets of duration-depth and computes the IDF curves using Gumbel and the Bernard equation to compute the intensity-duration-frequency curves for precipitation design
Hi, you have to modify the the code between the lines 99 and 119... instead of calculating Gumbel Parameters and its inverse you could add:
P = 1./Return_Period;
for ii = 1 : t;
for i = 1 : m;
GEV_Parameters(i,:) = gevfit(Rainfall_Intensity(:,i));
IDF_Table_GEV(ii,i) = gevinv(P(ii),GEV_Parameters(i,1),GEV_Parameters(i,2),GEV_Parameters(i,3));
hope it works,
Anyone know if im want to change the gumbel dist with GEV dist? how the coding looks like
In lines 160, 161, and 162 the "double" function must be changed by "table2string" for the new matlab versions.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.