Seasonality Index of extreme events
Updated 10 Jul 2017
% This function can be use to calculate seasonal distribution of any exteme
% events in hydrology namely, low flows or maximum flow. It relies on two
% parameter, namely :
% r: the length of the mean vector is a measure of the variability of low flow days
% theta: the directional angle of the mean vector.
% Code is written by Pankaj Dey, PhD student at Department of Civil
% Engineeing, Indian Institute of Science, Bangalore.
% Input: date: it is an array which compose of the dates when the extermes
% are observed in a particular year. The structure of date is as follows:
%For example: Col.1 Col.2 Col.3
% Year Month Day
% date= 1904 3 1
% 1905 3 1
% Output: results: a matrix whose
% First row element denotes the length of the
% mean vector
% Second row element denotes the directional
% angle of the mean vector
% Third row element denotes the mean day of
% occurence of extreme.
% Additionally a polar plot will pop up ehich will graphically display the
% position of the mean vector in polar cordiantes.
% Note: a function name 'date2julian' is used in this function.
% References: Laaha, G. and Blöschl, G., 2006. Seasonality indices for regionalizing low flows. Hydrological Processes, 20(18), pp.3851-3878.
Pankaj Dey (2023). Seasonality Index of extreme events (https://www.mathworks.com/matlabcentral/fileexchange/63661-seasonality-index-of-extreme-events), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
- Sciences > Earth, Ocean, and Atmospheric Sciences > Oceanography and Hydrology >
- Sciences > Earth, Ocean, and Atmospheric Sciences > Weather and Atmospheric Science >
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.