| Aerospace Toolbox | ![]() |
a = convmass(v, ui, uo)
a = convmass(v, ui, uo) computes the conversion factor from specified input mass units, ui, to specified output mass units, uo, and applies the conversion factor to the input, v, to produce the output, a, in the desired units. v and a are floating-point arrays of size m-by-n. All of the values in v must have the same unit conversions from ui to uo. ui and uo are strings.
Supported unit strings are:
| 'lbm' | Pound mass |
| 'kg' | Kilograms |
| 'slugs' | Slugs |
Convert three masses from pound mass to kilograms:
a = convmass([3 1 5],'lbm','kg')
a =
1.3608 0.4536 2.2680convacc, convang, convangacc, convangvel, convdensity, convforce, convlength, convpres, convtemp, convvel
![]() | convlength | convpres | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |