costerespfour computes the coefficients in the Fourier domain using the regularization operator. The function returns the inverse of the response to the transform coefficients in the block. To do this, the function uses a threshold parameter called "umbral" to set the minimum response value: USAGE: C = costerespfour(bloque,ladobloque,H,k1,k2,umbral); The nonlinear model considers neighbour interactions (H is this non-diagonal)
0001 0002 % costerespfour computes the coefficients in the Fourier domain using the regularization operator. 0003 % The function returns the inverse of the response to the transform coefficients in the block. To do this, 0004 % the function uses a threshold parameter called "umbral" to set the minimum response value: 0005 % 0006 % USAGE: C = costerespfour(bloque,ladobloque,H,k1,k2,umbral); 0007 % The nonlinear model considers neighbour interactions (H is this non-diagonal) 0008 % 0009 0010 function F=costeinvrespfour(observado,lcuan,H,k1,k2,umbral); 0011 0012 C=responsefourier(observado,lcuan,H,k1,k2); 0013 0014 C(lcuan/2+1,lcuan/2+1) = 1; 0015 F = C.*( C > umbral ) + umbral.*( C <= umbral ); 0016 0017 F=1./F; 0018 0019 F = F/max(max(F)); 0020 0021 F(lcuan/2+1,lcuan/2+1) = 1; 0022