[A1,...,An] = fromDegrees(toUnits,D1,...,Dn)
converts the angles specified by D1,...,Dn from degrees to the units
specified by toUnits. This function is useful for converting angles
from degrees when you do not know the output units until run-time.
A1,...,An — Angles in degrees or radians numeric array
Angles in degrees or radians, returned as the same number of numeric arrays as in
D1,...,Dn. The size of each output array matches the size of the
corresponding input array.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.