Main / Business / Triscatteredinterp
File size: 910mb
F = TriScatteredInterp() creates an empty scattered data interpolant. TriScatteredInterp is used to perform interpolation on a scattered dataset that resides in 2-D or 3-D space. A scattered data set defined by locations X and corresponding values V can be interpolated using a Delaunay triangulation of X. Defines locations of scattered data points in. 16 Nov I wonder why Mathworks considers TriScatteredInterp(x,y,z) as an extrapolation function while it only interpolates inside the area defined by "x,y" scattered points and it doesn't calculate outside that area. And since a delaunay triangulation only extends out to the convex hull.
You should interpolate values on the bi-dimensional original data (long, lat), not on the tri-dimensional one (X, Y, Z). Note that I included some. 12 Mar bug # MATLAB-Function 'TriScatteredInterp' is not yet (and the now obsolete "TriScatteredInterp") are still missing in Octave Index of /pub/dist/freesurfer/tutorial_packages/centos6/MCRv83/v83/mcr/toolbox/ matlab/polyfun/@TriScatteredInterp. [ICO], Name · Last modified · Size.
20 May To plot irregularly spaced data in MATLAB, use the TriScatteredInterp command to create a data structure for interpolation. 16 May Using TriScatteredInterp generates large interpolant-functions (Matlab calls this class: TriScatteredInterp). Running my code uses up about. 19 Nov Hi Damian, Thanks for the prompt reply. Yes, it is indeed what I expected. It's ok like this, I just wanted to make sure I understood the warning. 'griddata' vs. 'TriScatteredInterp'. when you have unevenly spaced data points and want to make a spatially interpolated map you can use 'linespace'. It turns out that it is not a good idea to use the intrinsic function TriScatteredInterp for a full 3D interpolation in a terrain-following coordinates grid, like ROMS.