perform_rbf_interpolation.m

来自「toolbox_dimreduc - a toolbox for dimensi」· M 代码 · 共 21 行

M
21
字号
function fi = perform_rbf_interpolation(Xi,X,f)

% perform_rbf_interpolation - scattered data interpolation
%
%   fi = perform_rbf_interpolation(Xi,X,f);
%
%   It uses a linear spline radial basis function.
%       fi(x) = a*x + b + sum a_i * |x-x_i|
%   where x_i are the interpolation points
%   and a_i are computed to satisfy the interpolation property
%       fi(x_i)=f(x_i)
%
% X is the location of sampling location, of size (nbr_sampling_points,3)
% Xi is the location of interpolation location, of size (nbr_evaluation_points,3)
% f is the value if the function at the sampling location of size (nbr_sampling_points,1)
% fi is the interpolated values, of size (nbr_evaluation_points,1)
% 
% Code borrowed from Aranz 
% <http://aranz.com/research/modelling/theory/directmethods.html>
%
%   Copyright (c) 2005 Gabriel Peyr

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?