| Aerospace Toolbox | ![]() |
a = convpres(v, ui, uo)
a = convpres(v, ui, uo) computes the conversion factor from specified input pressure units, ui, to specified output pressure 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:
| 'psi' | Pound force per square inch |
| 'Pa' | Pascal |
| 'psf' | Ppound force per square foot |
| 'atm' | Atmosphere |
Convert two pressures from pound force per square inch to atmospheres:
a = convpres([14.696 35],'psi','atm')
a =
1.0000 2.3816convacc, convang, convangacc, convangvel, convdensity, convforce, convlength, convmass, convtemp, convvel
![]() | convmass | convtemp | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |