Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function y=interiorangle(A,B)
- % finds the interior angle between a pair of
- % vectors A and B in degrees.
- y=(180/pi)*acos(dot(A,B)/(magvector(A)*magvector(B)));
- % 180/pi converts radians to degrees
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement