Difference between revisions of "Methyl group.m"
(Normalise sequential blank lines) |
(Remove obsolete s2spinach links) |
||
| Line 23: | Line 23: | ||
==See also== | ==See also== | ||
| − | [[gparse.m]], [[g2spinach.m]], [[oparse.m]] | + | [[gparse.m]], [[g2spinach.m]], [[oparse.m]] |
| − | |||
''Version 2.3, authors: [[Ilya Kuprov]]'' | ''Version 2.3, authors: [[Ilya Kuprov]]'' | ||
Revision as of 12:03, 25 April 2026
Coordinates for the four atoms of a methyl group.
Syntax
xyz=methyl_group(c_xyz,cc_th,cc_ph,phase)
Arguments
c_xyz - coordinates of C, row vector, Angstrom
cc_th - polar theta angle of the C-C bond, radians
cc_ph - polar phi angle of the C-C bond, radians
phase - phase of the methyl group with respect to
its rotation around the C-C bond, radians
Outputs
xyz - a column cell array of Cartesian XYZ row
vectors; carbon is the first atom
See also
gparse.m, g2spinach.m, oparse.m Version 2.3, authors: Ilya Kuprov