# Dihedral.m

From Spinach Documentation Wiki

Computes the dihedral angle between vectors specified by the four sets of atomic coordinates. The angle is returned in degrees. The atoms are assumed to be bonded as A-B-C-D. Syntax:

phi=dihedral(A,B,C,D)