MATLAB Answers

How to calculate standardized precipitation index (SPI).

47 views (last 30 days)
Govind Kumar
Govind Kumar on 19 Jun 2019
Answered: Chad Greene on 17 Jul 2019
I have rainfall data in .mat format. Data is 2D matrix mxn where m are row representing m days and n is column representing n locations. I wanted to calculated SPI for each location as well as whole country. Please do not suggest any softweaer.
  4 Comments
dpb
dpb on 19 Jun 2019
They're fitting multiple distributions to find best fit of precipitation data over the given time period, then using that to compute a percentile.
Search the FileExchange; there are several submissions there that should at least give you a head start...this won't be a five-minute exercise.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!