Mercurial > hg > ltpda
view m-toolbox/classes/+utils/@math/deg2rad.m @ 2:18e956c96a1b database-connection-manager
Add LTPDADatabaseConnectionManager implementation. Matlab code
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Sun, 04 Dec 2011 21:23:09 +0100 |
parents | f0afece42f48 |
children |
line wrap: on
line source
% DEG2RAD Convert degrees to radians % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % DESCRIPTION: DEG2RAD Convert degrees to radians % % CALL: r = deg2rad(deg, min, sec) % % INPUTS: deg - degrees % min - minutes % sec - seconds % % OUTPUTS: r - radians % % VERSION: $Id: deg2rad.m,v 1.2 2008/10/24 06:19:23 hewitson Exp $ % % HISTORY: 26-01-2007 M Hewitson % Creation % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function r = deg2rad(deg, min, sec) r = (deg + min/60 + sec/3600)*pi/180; end