Difference between revisions of "Methyl group.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:methyl_group.m}} __NOTOC__ Coordinates for the four atoms of a methyl group. ==Syntax== xyz=methyl_group(c_xyz,cc_th,cc_ph,phase) ==Arguments== c_x...")
 
(Normalise sequential blank lines)
Line 24: Line 24:
 
==See also==
 
==See also==
 
[[gparse.m]], [[g2spinach.m]], [[oparse.m]], [[s2spinach.m]]
 
[[gparse.m]], [[g2spinach.m]], [[oparse.m]], [[s2spinach.m]]
−
 
  
 
''Version 2.3, authors: [[Ilya Kuprov]]''
 
''Version 2.3, authors: [[Ilya Kuprov]]''

Revision as of 11:27, 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, s2spinach.m

Version 2.3, authors: Ilya Kuprov