angle

Calculates the angle between two vectors defined using inputted points. Depending on input, function can return scalar, vector or matrix

Arguments

  1. p1(x)
  2. p1(y)
  3. p2(x)
  4. p2(y)
  5. p3(x)
  6. p3(y)

Output

Angle between vectors

Examples

angle