rdc_fit.m

From Spinach Documentation Wiki
Revision as of 14:58, 19 October 2022 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:rdc_fit.m}} __NOTOC__ Linear least squares fitter for residual dipolar couplings. Isotope pairs are arbitrary; multiple isotope pairs may be supplied at the sam...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Linear least squares fitter for residual dipolar couplings. Isotope pairs are arbitrary; multiple isotope pairs may be supplied at the same time.

Syntax

    S=rdc_fit(isotopes,xyz,rdc)

Arguments

  isotopes - N x 2 cell array of strings with Spinach 
             isotope specifications, e.g. '13C'

  xyz      - N x 2 cell array of 3-element vectors
             with Cartesian coordinates in Angstrom

  rdc      - N x 1 vector with residual dipolar coup-
             lings in Hz

Outputs

  S        - Saupe order matrix, a symmetric real
             dimensionless 3x3 matrix

See also

Residual dipolar couplings


Version 2.7, authors: Ilya Kuprov