Gaussian interpolation with successive corrections

Version 1.1.0.0 (5.71 KB) by OUC Polar
Code for Gaussian Interpolation with successive corrections
568 Downloads
Updated 9 Jun 2014

View License

Code for Gaussian Interpolation with successive corrections. Running of the code is a little slow , but the results seem not bad. In this code I applied just one step successive corrections. The figure shows the Sea Level Pressure field from NCEP data. I used it to verify the interpolation results.
%------ Input: 'x' is the original longitude, 'y' is the original latitude -------
%--------- 'z' is the original data field,'rr' is the radius influence ------------
%------ 'xi' is the interpolate longitude, 'yi' is the interpolate latitude -------
%----------------------------------------------------------------------------------------
%------ Output: 'F'(interpolate value with successive corrections) --------
%------ 'F0'(interpolate value without successive corrections) --------
%------ 'FD'(interpolate value error for new grids) --------
%------ Notice: 'x,y,z' must be the same size, ------------
%------ the unit of input radius‘rr’is (m) -------
%----------------------------------------------------------------------------------------
% Usage: [x,y] = meshgrid(long,lati);
% [F F0 FD] = gaussian_interpolation(x,y,z,400*10^3,llon,llat);

Cite As

OUC Polar (2024). Gaussian interpolation with successive corrections (https://www.mathworks.com/matlabcentral/fileexchange/44351-gaussian-interpolation-with-successive-corrections), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interpolation in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Considering the 'NaN' data case

1.0.0.0