各位大侠好,我昨天找个一个正则化工具箱,打开一看却不会用,看不懂需要输入什么参数,请各位帮帮忙。程序如下。我理解是包含四种方法,我现在只需要用第一种‘Tikh’,求一个线性方程组‘Ax=B’,不明白这里的U,sm,b都是什么。麻烦了,感激不尽!
function [reg_corner,rho,eta,reg_param] = l_curve(U,sm,b,method,L,V)
%L_CURVE Plot the L-curve and find its "corner".
%
% [reg_corner,rho,eta,reg_param] =
% l_curve(U,s,b,method)
% l_curve(U,sm,b,method) , sm = [sigma,mu]
% l_curve(U,s,b,method,L,V)
%
% Plots the L-shaped curve of eta, the solution norm || x || or
% semi-norm || L x ||, as a function of rho, the residual norm
% || A x - b ||, for the following methods:
% method = 'Tikh' : Tikhonov regularization (solid line )
% method = 'tsvd' : truncated SVD or GSVD (o markers )
% method = 'dsvd' : damped SVD or GSVD (dotted line)
% method = 'mtsvd' : modified TSVD (x markers )
% The corresponding reg. parameters are returned in reg_param. If no
% method is specified then 'Tikh' is default. For other methods use plot_lc.