Code covered by the BSD License
-
Lplot(lambdavec,rho,eta)
make discrepancy plot
-
Lt=trans2d(dimr,dimc);
-
[Lgfit,rho,eta]=LCurve(s,K,la...
determines a set of solutions $g$ according to a user-defined set of regularization parameters.
-
[f,d]=chi2spectrum(gcol,guess...
calculate deviation vector in spectral domain
-
[gfit,rho,eta]=NLCSmoothReg(s...
determines the solution $g$ according to the user-defined regularization parameter, which has to be estimated
-
ddL2=L2_2d(n,dimr,dimc);
calculates the nth derivative matrix with respect to each columnvector of a
-
get_l(n,d)
GET_L Compute discrete derivative operators.
-
plotODF(ODF,nocontours)
generates a contourplot of a two dimensionally function with
-
getposDP.m
-
getposLP.m
-
View all files
from
NLCSmoothReg
by Michael Wendlandt
Computes a smooth regularized solution of an ill-posed discrete linear inverse problem.
|
| Lt=trans2d(dimr,dimc);
|
function Lt=trans2d(dimr,dimc);
% if the (dimr x dimc) sized matrix g is presented in the form g = reshape(g,dimr*dimc,1),
% then trans2D calculates the matrix Lt, such that g_trans = Lt * g = reshape(reshape(g,dimr,dimc)',dimr*dimc,1)
Lt=zeros(dimr * dimc);
indx=1;
for r=1:dimr
for c=1:dimc
Lt(indx,r + (c-1) * dimr)=1;
indx=indx+1;
end
end
|
|
Contact us at files@mathworks.com