Description: Spi hydrological drought index analysis of the calculation code, and calculate multi-time scale of the index, you can paste into the m file, file comments within the description.
File list (Check if you may need any files):
SPI.m
license.txt