For references on the topic see:
Statistical analysis of circular data, N.I. Fisher
Topics in circular statistics, S.R. Jammalamadaka et al.
All funtions take arguments in radians (all but ang2rad, that is).
Note that this toolbox is far from complete. But hopefully some may find these bits of code useful. The implementation was inspired by the implementation of the R package circStats .
If you want to use the code for your scientific publication, feel free to do so. Note first that I do not take any liability for possible bugs still contained in my code (although I am pretty sure of it) or errors you may produce while applying it. If you could refer to this homepage, this would be nice.
email -
homepage
distributed under GPL with no liability
http://www.gnu.org/copyleft/gpl.html
Philipp Berens - 3/21/2006 11:42AM