How to calculate Percentiles of Multidimensional metrix for extreme precipitation value?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Data Import and Analysis dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!