Mercurial > hg > aimmat
diff aim-mat/tools/units/weight/@unit_weight_t/unit_weight_t.m @ 0:74dedb26614d
Initial checkin of AIM-MAT version 1.5 (6.4.2011).
author | tomwalters |
---|---|
date | Fri, 20 May 2011 12:32:31 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/aim-mat/tools/units/weight/@unit_weight_t/unit_weight_t.m Fri May 20 12:32:31 2011 +0100 @@ -0,0 +1,9 @@ +function nu=unit_weight_t() + +str.name='t'; +str.fullname='tons'; + +str.converter=unitconvertermultpow(1000,1); + +un=unit(str.name,str.fullname,str.converter); +nu=class(str,'unit_weight_t',un); \ No newline at end of file