


zAngle(A,B,C) computes the angle at B made by vectors BA and BC


0001 % zAngle(A,B,C) computes the angle at B made by vectors BA and BC 0002 0003 function [theta] = zAngle(A,B,C) 0004 0005 d = A-B; 0006 e = C-B; 0007 0008 theta = 180*acos(d*e'/(norm(d)*norm(e)))/pi; 0009