Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MatLab 0.20 KB | None | 0 0
  1. function y=interiorangle(A,B)
  2. % finds the interior angle between a pair of
  3. % vectors A and B in degrees.
  4. y=(180/pi)*acos(dot(A,B)/(magvector(A)*magvector(B)));
  5. % 180/pi converts radians to degrees
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement