seleccion_lambda

PURPOSE ^

The restoration methods should call seleccion_lambda being the last

SYNOPSIS ^

function valorlambda = seleccion_lambda(x,y,lambdas,normaruido,metodo);

DESCRIPTION ^

 The restoration methods should call seleccion_lambda being the last
 parameter indicating the function to be called to get the lambda
  1: pasando_norma_ruido
  2: max_incr_pend_Lcurva

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % The restoration methods should call seleccion_lambda being the last
0002 % parameter indicating the function to be called to get the lambda
0003 %  1: pasando_norma_ruido
0004 %  2: max_incr_pend_Lcurva
0005 %
0006 function valorlambda = seleccion_lambda(x,y,lambdas,normaruido,metodo);
0007 
0008 val = 0;
0009 
0010 switch metodo
0011     case 1
0012         val = feval(@pasando_norma_ruido,x,lambdas,normaruido);
0013     case 2
0014         val = feval(@max_incr_pend_Lcurva,x,y,lambdas);
0015     otherwise
0016          disp('Este criterio para el parametro de regularizacion no existe!');
0017 end
0018 
0019 valorlambda = val;
0020

Generated on Fri 07-Mar-2014 13:28:33 by m2html © 2005