circ_ang2rad.m 279 B

1234567891011
  1. function alpha = circ_ang2rad(alpha)
  2. % alpha = circ_ang2rad(alpha)
  3. % converts values in degree to radians
  4. %
  5. % Circular Statistics Toolbox for Matlab
  6. % By Philipp Berens, 2009
  7. % berens@tuebingen.mpg.de - www.kyb.mpg.de/~berens/circStat.html
  8. alpha = alpha * pi /180;