convforce - Convert from force units to desired force units

Syntax

a = convforce(v, ui, uo)

Description

a = convforce(v, ui, uo) computes the conversion factor from specified input force units, ui, to specified output force 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:

'lbf'Pound force
'N'Newton

Examples

Convert three forces from pound force to newtons:

a = convforce([120 1 5],'lbf','N')

a =

  533.7866    4.4482   22.2411

See Also

convacc, convang, convangacc, convangvel, convdensity, convlength, convmass, convpres, convtemp, convvel

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS