Scattered Data Interpolation and Approximation script Publisher Review:
Scattered Data Interpolation and Approximation Scattered Data Interpolation and Approximation using Radial Base Functions - Set of functions that can be used for interpolation and and approximation of scattered data
Scattered Data Interpolation and Approximation using Radial Base Functions - Set of functions that can be used for interpolation and and approximation of scattered data Radial base functions (RBF) can be used for interpolation and and approximation of scattered data i.e. data is not required to be on any regular grid. The same function can handle data interpolation in any dimension. See file rbftest.m for more examples. 1. Create RBF interpolation using rbf=rbfcreate(x, f); ?x? ? coordinates of the nodes and ?f? - values of the function at the nodes2. Calculate interpolated values ?fi? at nodes ?xi? using fi = rbfinterp(xi, rbf); rbf ? is structure returned by rbf=rbfcreate(x, f) examplex = 0:1.25:10; f = sin(x); xi = 0:.1:10; %Matlab interpolationfi = interp1(x,f,xi); % RBF interpolationrbf=rbfcreate(x, f);fi = rbfinterp(xi, rbf);- examplex = rand(50,1)*4-2; y = rand(50,1)*4-2; z = x.*exp(-x.^2-y.^2);ti = -2:.05:2; [XI,YI] = meshgrid(ti,ti);%Matlab interpolationZI = griddata(x,y,z,XI,YI,'cubic');%RBF interpolationrbf=rbfcreate([x'; y'], z');ZI = rbfinterp([XI(:)'; YI(:)'], op);ZI = reshape(ZI, size(XI)); Optional parameters:1. Radial Base Function: rbfcreate(x, f ,'RBFFunction', 'multiquadric'); available RBF functions are: multiquadric, gaussian, linear, cubic, thinplate2. Smoothing level: (must be a positive scalar)rbfcreate(x, f ,'RBFSmooth', 0.1); 3. Multiquadric and gaussian functions have definable constants rbfcreate(x, f ,?RBFConstant', 0.1);RBF interpolation usually produces much better results that standard Matlab functions but computation complexity of RBF interpolation is n^3 thus it is not recommended to use it for more then 2000 nodes.Scattered Data Interpolation and Approximation script details and screenshot
RECOMMENDED TOOLS
Related tags:
» Scattered Data Interpolation » Radial Base Functions » matlab mathematics » Scattered » Data » Interpolation
Related downloads
Derivative script
Derivative Derivative provides the first derivative using a 2nd order difference method.
Price: Freeware$, Rating: 10, Downloads: 0
Derivative Derivative provides the first derivative using a 2nd order difference method.
Price: Freeware$, Rating: 10, Downloads: 0
First-Order Degree Linear Differential Equations script
First-Order Degree Linear Differential Equations First-Order Degree Linear Differential Eq
Price: Freeware$, Rating: 6, Downloads: 0
First-Order Degree Linear Differential Equations First-Order Degree Linear Differential Eq
Price: Freeware$, Rating: 6, Downloads: 0
Entrop script
Entrop Entrop implements a special version of the algorithm for entropy maximization.
Price: Freeware$, Rating: 8, Downloads: 0
Entrop Entrop implements a special version of the algorithm for entropy maximization.
Price: Freeware$, Rating: 8, Downloads: 0
Hybrid Symbolic and Numerical Simulation script
Hybrid Symbolic and Numerical Simulation Hybrid Symbolic and Numerical Simulation - Matlab
Price: Freeware$, Rating: 10, Downloads: 0
Hybrid Symbolic and Numerical Simulation Hybrid Symbolic and Numerical Simulation - Matlab
Price: Freeware$, Rating: 10, Downloads: 0
Math Function in 3D Graphics script
Math Function in 3D Graphics Math Function in 3D Graphics code allows you to have a 3D rep
Price: Freeware$, Rating: 6, Downloads: 0
Math Function in 3D Graphics Math Function in 3D Graphics code allows you to have a 3D rep
Price: Freeware$, Rating: 6, Downloads: 0
matlab scm script
matlab scm matlab scm - Robotic Manipulator Kinematics
Price: Freeware$, Rating: 10, Downloads: 0
matlab scm matlab scm - Robotic Manipulator Kinematics
Price: Freeware$, Rating: 10, Downloads: 0
Gauss Quadrature for Tetrahedra script
Gauss Quadrature for Tetrahedra Gauss Quadrature for Tetrahedra - Compute Gauss weights an
Price: Freeware$, Rating: 10, Downloads: 0
Gauss Quadrature for Tetrahedra Gauss Quadrature for Tetrahedra - Compute Gauss weights an
Price: Freeware$, Rating: 10, Downloads: 0
com.wis.math.alg.Matrix script
com.wis.math.alg.Matrix com.wis.math.alg.Matrix implements the behaviours of the Matrix Cl
Price: Other Free / Open So$, Rating: 9, Downloads: 0
com.wis.math.alg.Matrix com.wis.math.alg.Matrix implements the behaviours of the Matrix Cl
Price: Other Free / Open So$, Rating: 9, Downloads: 0
