Mercurial > hg > aimmat
annotate aim-mat/tools/units/current/@unit_current/unit_current.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 |
rev | line source |
---|---|
tomwalters@0 | 1 function unitobj=unit_current |
tomwalters@0 | 2 |
tomwalters@0 | 3 str.name='current'; |
tomwalters@0 | 4 ub=unitbag(str.name); |
tomwalters@0 | 5 ub=add(ub,unit_current_ampere); |
tomwalters@0 | 6 ub=add(ub,unit_current_mampere); |
tomwalters@0 | 7 ub=add(ub,unit_current_muampere); |
tomwalters@0 | 8 ub=add(ub,unit_current_nanoampere); |
tomwalters@0 | 9 |
tomwalters@0 | 10 unitobj= class(str,'unit_current',ub); |
tomwalters@0 | 11 |