How to calculate Percentiles of Multidimensional metrix for extreme precipitation value?
1 回表示 (過去 30 日間)
古いコメントを表示
Dear all,
I have three dimension data sets (i.e stations,year, day). I want to calculate the 90 and 95th percentile to make the threshold for extreme precipitaion value for individual staion peryear. Also my data sets has NaNs in them. Not sure if that affects the commands. please help, thankyou very much. attached data (rainfall) in format of 302(staions)*13 (year)*365(days).
clc
clear
for s=1:302;%%%% number fo stations
for y=1:13; %%%% number fo year
for d=1:365; %%%% number fo day
percentile(s,y,d)= prctile(rainfall,[90 95],'all')
end
end
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Import and Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!