deg2rad
Syntax
deg2rad(X)
Arguments
X is a scalar/vector.
Details
Convert angle units from degrees to radians for each element of X.
Examples
deg2rad 45 90 180 360;
// output
[0.785398,1.570796,3.141593,6.283185]
deg2rad(X)
X is a scalar/vector.
Convert angle units from degrees to radians for each element of X.
deg2rad 45 90 180 360;
// output
[0.785398,1.570796,3.141593,6.283185]