Calculating Return Levels for Extreme Precipitation
조회 수: 26 (최근 30일)
이전 댓글 표시
hello!
I have a matlab script that calculates the return levels for the return periods 2, 10, 25, 50, 100years using GEV distribution. However, when i plot it, it shows a blank plot. I would be so very grateful is i could get some help with this. I have also attached my data below. Thank you!!
This is the script i used:
returnT = [2;10;25;50;100];
returnP = 1-(1./returnT);
parmhatP=gevfit(prcp);
w1 = gevinv(returnP,parmhatP(1),parmhatP(2),parmhatP(3));
returnpV = 1:10:100;
returnTp = 1-(1./returnpV);
figure();
returnLevel_P = gevinv(returnTp,parmhatP(1),parmhatP(2),parmhatP(3));
plot(returnpV,returnLevel_P,'k',returnT,w1,'k*');hold on
ylim([150 500]);
title('Precipitation');
xlabel('Return period [years]');
ylabel('Return level [mm/mo]');
grid on
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Industrial Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!