Home > FR3DSource > zAngle.m

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

- zCheckHydrogen This program is generated by zGenerateCheckHydrogen.m
- zPhosphateInteractions zPhosphateInteractions checks all nearby pairs of bases for base-phosphate

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

Generated on Fri 03-Apr-2009 09:52:35 by