function s = sindeg(x)
% function s = sindeg(x)
% Returns the sin of an angle given in degrees.
% This function is capable of handling vector inputs. 
% S. Scott Moor 	January 2004
%
%  input:  x = angle in degrees 
% output:  s = resulting sin

% r = angle in radians 

% calculate radians
r = pi/180.*x;

% calculate sin
s=sin(r);

