function rad = deg2rad(deg)

% deg2rad (rad)
%
% Keith Brady 18-08-2010
%
% Conversion function from Degrees to Radian.
% an alterative form to the functions by Richard Medlock renamed as
% suggested in the blog article 
%
% http://blogs.mathworks.com/pick/2009/11/27/degrees-and-radians/

rad = (pi/180).*deg;