Download this file

11 lines (8 with data), 279 Bytes

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