I have a 3D matrix having dimension m*n*365 (where m & n represents the the number lat & lon grids;365 represents the daily rainfall data stored in each grids). How can I find the percentile value of rainfall data stored in 150th day for each grid?

2 views (last 30 days)
I have a 3D matrix having dimension m*n*365 (where m & n represents the the number lat & lon grids;365 represents the daily rainfall data stored in each grids). How can I find the percentile value of rainfall data stored in 150th day for each grid?

Answers (1)

KSSV
KSSV on 15 Jan 2019
Edited: KSSV on 15 Jan 2019
Let A be your m*n*365 3D matrix. Extract 150th matrix out of it.
B = A(:,:,150) ;
YOu can carry on your computation on B.
  1 Comment
Sapam Raju Singh
Sapam Raju Singh on 16 Jan 2019
In that way, I can calculate the desired percentile value (say, 90th percentile) based on 150 days. But, I want to find the percentile value of data position in 150th day based on 365 days.

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!