Mercurial > hg > aimmat
annotate aim-mat/tools/units/angle/@unit_angle/unit_angle.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 |
rev | line source |
---|---|
tomwalters@0 | 1 function unitobj=unit_angle |
tomwalters@0 | 2 |
tomwalters@0 | 3 str.name='angle'; |
tomwalters@0 | 4 ub=unitbag(str.name); |
tomwalters@0 | 5 ub=add(ub,unit_angle_rad); |
tomwalters@0 | 6 ub=add(ub,unit_angle_deg); |
tomwalters@0 | 7 ub=add(ub,unit_angle_perc); |
tomwalters@0 | 8 ub=add(ub,unit_angle_frac); |
tomwalters@0 | 9 |
tomwalters@0 | 10 |
tomwalters@0 | 11 |
tomwalters@0 | 12 unitobj= class(str,'unit_angle',ub); |
tomwalters@0 | 13 |
tomwalters@0 | 14 |
tomwalters@0 | 15 |
tomwalters@0 | 16 |