Circular Statistics Toolbox for Matlab

Authors: Philipp Berens & Marc J. Velasco

Contributor: Tal Krasovsky

Go to Download Page

This is a toolbox for doing circular statistics with Matlab. It requires the Statistics Toolbox. Since 2010, most functions for descriptive statistics can be used in Matlab style matrix computations. As a last argument, add the dimension along which you want to average. This changes the behavior slightly from previous relaeses, in that input is not reshaped anymore into vector format. Per default, all computations are performed columnwise (along dimension 1). If you prefer to use the old functions, for now they are contained in the subdirectory ‘old’.

If you have suggestions, bugs or feature requests or want to contribute code, please email us.


Reference: P. Berens, CircStat: A Matlab Toolbox for Circular Statistics, Journal of Statistical Software, Volume 31, Issue 10, 2009.

Please cite this paper when the provided code is used. See licensing terms for details.

– E. Batschelet, Circular Statistics in Biology, Academic Press, 1981
– N.I. Fisher, Statistical analysis of circular data, Cambridge University Press, 1996
– S.R. Jammalamadaka et al., Topics in circular statistics, World Scientific, 2001
– J.H. Zar, Biostatistical Analysis, Prentice Hall, 1999