📄 perform_rbf_interpolation.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -