www.gusucode.com > mbcmodels 工具箱 matlab 源码程序 > mbcmodels/@xregrbf/thinplate.m

    function y = thinplate( r, m )
%XREGRBF/THINPLATE  Thin-plate spline RBF kernel
%  THINPLATE(R,M) is a matrix the same size as R containing the values of the 
%  thin-plate spline RBF kernel at the squared and weighted distances given in R.
%
%  The thin-plate spline kernel is given by phi(R) = 0.5*R*log(R), where R is 
%  the squared and weighted distance.

%  Copyright 2000-2008 The MathWorks, Inc. and Ford Global Technologies, Inc.


y = 0.5 * r .* log( r );

%------------------------------------------------------------------------------|
% EOF
%------------------------------------------------------------------------------|