Difference between revisions of "Lcurve.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Normalise remaining wiki page to current Spinach source header) |
||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:lcurve.m}} __NOTOC__ | {{DISPLAYTITLE:lcurve.m}} __NOTOC__ | ||
| − | L-curve analysis function. | + | L-curve analysis function. |
| + | ==Syntax== | ||
| − | + | lam_opt=lcurve(lam,err,reg,mode) | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Arguments== | ==Arguments== | ||
| − | lam - row vector of regularisation parameters | + | lam - row vector of regularisation parameters |
err - row vector of least squares errors | err - row vector of least squares errors | ||
Revision as of 15:13, 5 April 2026
L-curve analysis function.
Syntax
lam_opt=lcurve(lam,err,reg,mode)
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