view aim-mat/tools/units/angle/@unit_angle_deg/unit_angle_deg.m @ 4:537f939baef0 tip

various bug fixes and changed copyright message
author Stefan Bleeck <bleeck@gmail.com>
date Tue, 16 Aug 2011 14:37:17 +0100
parents 74dedb26614d
children
line wrap: on
line source
function nu=unit_angle_deg

str.name='deg';
str.fullname='degree';

str.converter=unitconvertermultpow(2*pi/360,1);

un=unit(str.name,str.fullname,str.converter);
nu=class(str,'unit_angle_deg',un);