26.13.11 Angle of a vector
The arg
command finds the angle of a complex number (the
argument) or the angle of a vector defined by two points.
-
arg takes
v, a number or a vector defined by two points.
- arg(v) returns the argument of v if v is
a complex number or the angle between the positive x direction
and v if v is a vector.
Example