function deg = rad2deg(rad)

% rad2deg (rad)
%
% Keith Brady 18-08-2010
%
% Conversion function from Radians to Degrees.
% 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/


deg = rad./(pi/180);