| Aerospace Toolbox | ![]() |
a = convang(v, ui, uo)
a = convang(v, ui, uo) computes the conversion factor from specified input angle units, ui, to specified output angle 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:
| 'deg' | Degrees |
| 'rad' | Radians |
| 'rev' | Revolutions |
Convert three angles from degrees to radians:
a = convang([3 10 20],'deg','rad')
a =
0.0524 0.1745 0.3491convacc, convangacc, convangvel, convdensity, convforce, convlength, convmass, convpres, convtemp, convvel
![]() | convacc | convangacc | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |