Difference between revisions of "Tikhoind.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
{{DISPLAYTITLE:tikhoind.m}} __NOTOC__
 
{{DISPLAYTITLE:tikhoind.m}} __NOTOC__
 +
 
Analytical Tikhonov regularised solution to K*x=y without any constraints (indeterminate output).
 
Analytical Tikhonov regularised solution to K*x=y without any constraints (indeterminate output).
  
 
==Syntax==
 
==Syntax==
  
−
    [x,err,reg]=tikhoind(K,D,y,lam)
+
[x,err,reg]=tikhoind(K,D,y,lam)
  
 
==Arguments==
 
==Arguments==
  
−
    K      - kernel matrix, may be complex, may be non-square
+
K      - kernel matrix, may be complex, may be non-square
 
   
 
   
 
     D      - regularisation matrix, leave empty to use finite
 
     D      - regularisation matrix, leave empty to use finite
Line 19: Line 20:
 
==Outputs==
 
==Outputs==
  
−
    x      - a real vector, a minimum of  
+
x      - a real vector, a minimum of
 
             norm(K*x-y,2)^2+lambda*norm(D*x,2)^2
 
             norm(K*x-y,2)^2+lambda*norm(D*x,2)^2
−
+
 
 
     err    - error signal norm(K*x-y,2)^2
 
     err    - error signal norm(K*x-y,2)^2
−
+
 
 
     reg    - regularisation signal norm(D*x,2)^2
 
     reg    - regularisation signal norm(D*x,2)^2
 +
 +
Note: for best numerical performance, scale K to have approxima-
 +
      tely unit 2-norm, and y to have approximately unit 1-norm.
 +
 +
Note: see tikhonov.m for the positive-constraned solver.
 +
 +
ilya.kuprov@weizmann.ac.il
  
 
==Notes==
 
==Notes==
 +
 
For best numerical performance, scale K to have approximately unit 2-norm, and y to have approximately unit 1-norm.
 
For best numerical performance, scale K to have approximately unit 2-norm, and y to have approximately unit 1-norm.
  
 
==See also==
 
==See also==
 +
 
[[Import,_export,_and_visualisation#Miscellaneous_data_processing|Miscellaneous data processing]]
 
[[Import,_export,_and_visualisation#Miscellaneous_data_processing|Miscellaneous data processing]]
  

Revision as of 14:06, 5 April 2026


Analytical Tikhonov regularised solution to K*x=y without any constraints (indeterminate output).

Syntax

[x,err,reg]=tikhoind(K,D,y,lam)

Arguments

K - kernel matrix, may be complex, may be non-square

   D      - regularisation matrix, leave empty to use finite
            difference second derivative matrix

   y      - a column vector, may be complex

   lam    - Tikhonov regularisation parameter

Outputs

x - a real vector, a minimum of

            norm(K*x-y,2)^2+lambda*norm(D*x,2)^2
   err    - error signal norm(K*x-y,2)^2
   reg    - regularisation signal norm(D*x,2)^2
Note: for best numerical performance, scale K to have approxima-
      tely unit 2-norm, and y to have approximately unit 1-norm.
Note: see tikhonov.m for the positive-constraned solver.
ilya.kuprov@weizmann.ac.il

Notes

For best numerical performance, scale K to have approximately unit 2-norm, and y to have approximately unit 1-norm.

See also

Miscellaneous data processing

Numerical infrasctucture

tikhonov.m


Version 2.9, authors: Ilya Kuprov