Difference between revisions of "Lcurve.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Add missing Version/authors metadata and remove raw author emails)
m (Normalise preformatted blank lines in function documentation blocks)
Line 24: Line 24:
  
 
       err - row vector of least squares errors
 
       err - row vector of least squares errors
−
 
+
 
       reg - row vector of regularisation functional values
 
       reg - row vector of regularisation functional values
−
 
+
 
       mode - 'log' for logarithmic coordinates and 'linear'
 
       mode - 'log' for logarithmic coordinates and 'linear'
 
             for linear ones; 'log' is recommended
 
             for linear ones; 'log' is recommended
−
 
+
 
  The function returns the regularisation parameter at the point
 
  The function returns the regularisation parameter at the point
 
  of the maximum curvature of the L-curve.
 
  of the maximum curvature of the L-curve.

Revision as of 17:41, 5 June 2026


L-curve analysis function. Syntax:

    lam_opt=lcurve(lam,err,reg,mode)

Parameters:

       lam - row vector of regularisation parameters

       err - row vector of least squares errors

       reg - row vector of regularisation functional values

      mode - 'log' for logarithmic coordinates and 'linear'
             for linear ones; 'log' is recommended

The function returns the regularisation parameter at the point of the maximum curvature of the L-curve.


Arguments

lam - row vector of regularisation parameters

      err - row vector of least squares errors

      reg - row vector of regularisation functional values

     mode - 'log' for logarithmic coordinates and 'linear'
            for linear ones; 'log' is recommended

The function returns the regularisation parameter at the point
of the maximum curvature of the L-curve.


See also

tikhonov.m, tikhoind.m, ipcs.m, Pseudocontact shift analysis

Version 1.9, authors: Ilya Kuprov