Difference between revisions of "Lcurve.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 +
{{DISPLAYTITLE:lcurve.m}} __NOTOC__
 +
 
L-curve analysis function. Syntax:
 
L-curve analysis function. Syntax:
  
Line 19: Line 21:
  
 
''Version 1.9, authors: [[Ilya Kuprov]]''
 
''Version 1.9, authors: [[Ilya Kuprov]]''
 +
 +
==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.
 +
 +
ilya.kuprov@weizmann.ac.il

Revision as of 14:12, 5 April 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.


Version 1.9, authors: Ilya Kuprov

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.
ilya.kuprov@weizmann.ac.il