Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

AngleVector

AngleVector[θ]
gives the list representing the 2D unit vector at angle θ relative to the axis.

AngleVector[{r,θ}]
gives the list representing the 2D vector of length r at angle θ.

AngleVector[{x,y},θ]
gives the result of starting from the point {x,y}, then going a unit distance at angle θ.

AngleVector[{x,y},{r,θ}]
gives the result of starting from the point {x,y}, then going distance r at angle θ.

DetailsDetails

  • Unless explicitly given as a Quantity object, the angle θ is assumed to be in radians, counterclockwise starting from the axis. (Multiply by Degree to convert from degrees.)
  • AngleVector[{r,θ}] gives a vector that starts at {0,0}.
  • The arguments of AngleVector can be symbolic. They can also be Quantity objects.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Unit vector at angle θ:

In[1]:=
Click for copyable input
Out[1]=

Angles are assumed to be in radians:

In[1]:=
Click for copyable input
Out[1]=

Unit vector at angle 30°:

In[1]:=
Click for copyable input
Out[1]=

Use a Quantity angle instead:

In[2]:=
Click for copyable input
Out[2]=

General symbolic case:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2015
(10.1)