Changeset 434 for trunk/src/tps_eval.m


Ignore:
Timestamp:
May 29, 2012, 11:02:08 PM (12 years ago)
Author:
sommeria
Message:

corrections in the use of get_field
test_tps introduced, to test thin plate shell functions
tps-eval_dxy corrected (bug on the calculation of the derivatives fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/tps_eval.m

    r356 r434  
    11%'tps_eval': calculate the thin plate spline (tps) interpolation at a set of points
    2 % see tps_ceff for more information
     2% see tps_coeff.m for more information and test_tps.m for an example
    33%------------------------------------------------------------------------
    44% function EM = tps_eval(dsites,ctrs)
     
    88%   from unit sources located at each of the N centers, + (s+1) columns
    99%   representing the contribution of the linear gradient part.
     10%  use : U_interp=EM*U_tps
    1011%
    1112%INPUT:
    12 %dsites:  Nxs matrix representing the postions of the N 'observation' sites, with s the space dimension
    13 %ctrs: Mxs matrix  representing the postions of the M centers, sources of the tps,
     13%dsites:  Mxs matrix representing the postions of the M 'observation' sites, with s the space dimension
     14%ctrs: Nxs matrix  representing the postions of the N centers, sources of the tps,
    1415%
    1516% related functions:
Note: See TracChangeset for help on using the changeset viewer.