Calculation of Drought Index SPI for Hydrological Analysis
MATLAB implementation for calculating multi-timescale Standardized Precipitation Index (SPI) in hydrological analysis - includes comprehensive code with detailed comments, ready for direct use as an M-file with integrated algorithm explanations.