NaturalNeighborsInterpolant

PURPOSE ^

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SUBFUNCTIONS ^

SOURCE CODE ^

0001 classdef NaturalNeighborsInterpolant < Interpolant
0002     %DelaunayInterpolant Summary of this class goes here
0003     %   Detailed explanation goes here
0004     
0005     properties
0006         scatInterpObj;
0007     end
0008     
0009     methods
0010         function obj = NaturalNeighborsInterpolant(x, y, z)            
0011             %NEARESTNEIGHBORINTERPOLANT Construct an instance of this class
0012             %   Detailed explanation goes here
0013             
0014             % Superclass constructor
0015             obj@Interpolant(x, y, z);
0016             
0017             obj.scatInterpObj = scatteredInterpolant(x, y, z, 'natural');
0018         end
0019         
0020         function z = interpolate(obj, x, y)
0021             Interpolant.checkSizes(x, y);
0022             z = obj.scatInterpObj(x, y);
0023         end
0024     end
0025 end
0026

Generated on Thu 10-Dec-2020 17:34:27 by m2html © 2005