Mercurial > hg > aimmat
annotate aim-mat/tools/units/frequency/@unit_frequency/unit_frequency.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_frequency |
tomwalters@0 | 2 |
tomwalters@0 | 3 str.name='frequency'; |
tomwalters@0 | 4 ub=unitbag(str.name); |
tomwalters@0 | 5 ub=add(ub,unit_frequency_hz); |
tomwalters@0 | 6 ub=add(ub,unit_frequency_khz); |
tomwalters@0 | 7 ub=add(ub,unit_frequency_s); |
tomwalters@0 | 8 ub=add(ub,unit_frequency_ms); |
tomwalters@0 | 9 ub=add(ub,unit_frequency_mys); |
tomwalters@0 | 10 |
tomwalters@0 | 11 |
tomwalters@0 | 12 unitobj= class(str,'unit_frequency',ub); |
tomwalters@0 | 13 |
tomwalters@0 | 14 |
tomwalters@0 | 15 |
tomwalters@0 | 16 |