Changeset 1139 for trunk/src/tps_coeff.m


Ignore:
Timestamp:
Apr 25, 2024, 5:56:32 PM (12 days ago)
Author:
sommeria
Message:

series/test patch added + some bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tps_coeff.m

    r1127 r1139  
    1212%
    1313%------------------------------------------------------------------------
    14 % [U_smooth,U_tps]=tps_coeff(ctrs,U,Smoothing)
     14% [U_smooth,U_tps]=tps_coeff(ctrs,U,smoothing)
    1515%------------------------------------------------------------------------
    1616% OUTPUT:
     
    2121%  ctrs: NxNbDim matrix  representing the positions of the N centers, sources of the tps (NbDim=space dimension)
    2222%  U: Nx1 column vector representing the values of the considered scalar measured at the centres ctrs
    23 Smoothing: smoothing parameter: the result is smoother for larger Smoothing.
     23smoothing: smoothing parameter: the result is smoother for larger smoothing.
    2424%
    2525% RELATED FUNCTIONS:
     
    4545%=======================================================================
    4646
    47 function [U_smooth,U_tps]=tps_coeff(ctrs,U,Smoothing)
     47function [U_smooth,U_tps]=tps_coeff(ctrs,U,smoothing)
    4848%------------------------------------------------------------------------
    4949warning off
     
    5252U = [U; zeros(NbDim+1,1)];
    5353EM = tps_eval(ctrs,ctrs);
    54 SmoothingMat=Smoothing*eye(N,N);%  Smoothing=1/(2*omega) , omega given by fasshauer;
     54SmoothingMat=smoothing*eye(N,N);%  smoothing=1/(2*omega) , omega given by fasshauer;
    5555SmoothingMat=[SmoothingMat zeros(N,NbDim+1)];
    5656PM=[ones(N,1) ctrs];
Note: See TracChangeset for help on using the changeset viewer.