Convert from angle units to desired angle units
convertedValues
=
convang(valuesToConvert
, inputAngleUnits
, outputAngleUnits
)
computes the conversion factor from specified input angle units to specified output
angle units. It then applies the conversion factor to the input to produce the output in
the desired units. convertedValues
=
convang(valuesToConvert
, inputAngleUnits
, outputAngleUnits
)inputAngleUnits
and
outputAngleUnits
are character vectors or strings.
|
Floating-point array of size | ||||||
|
Specified input angle units. Supported units are:
| ||||||
|
Specified output angle units. Supported units are:
|
|
Floating-point array of size |
Convert three angles from degrees to radians:
a = convang([3 10 20],'deg','rad') a = 0.0524 0.1745 0.3491
convacc
| convangacc
| convangvel
| convdensity
| convforce
| convlength
| convmass
| convpres
| convtemp
| convvel