# Linear interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for linear interpolation. If we have a given function based on two vectors, parameter and resultant, then we can find the resultant of a different parameter if it is unknown.

# Calculates the volume under a surface defined by scattered points in matlab

The following Matlab project contains the source code and Matlab examples used for calculates the volume under a surface defined by scattered points . scatterquad2(X,Y,Z) finds the volume under the surface defined by the points (X(i),Y(i),Z(i)) with linear interpolation on the Delaunay triangulation of (X,Y) and Z=0 outside the convex hull of (X,Y).

# Contour plot based on delaunay with linear interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for contour plot based on delaunay with linear interpolation. Plot contour lines of a function F which is described by delaunay() matrices Tri,x,y. Linear interpolation across triangles is used.

# Lerp fast n dimensional linear interpolation & extrapolation in matlab

The following Matlab project contains the source code and Matlab examples used for lerp fast n dimensional linear interpolation & extrapolation. Syntax: F=LERP(X,Y,XI) F=LERP(X,Y,XI,EXTRAP) LERP is akin to the Matlab function INTERP1Q and can be used with the same syntax as INTERP1Q with the same results at comparable speed.

# Quicker 1d linear interpolation interp1qr in matlab

The following Matlab project contains the source code and Matlab examples used for quicker 1d linear interpolation interp1qr. Quicker 1D linear interpolation: 'interp1qr' Performs 1D linear interpolation of 'xi' points using 'x' and 'y', resulting in 'yi', following the formula yi = y1 + (y2-y1)/(x2-x1)*(xi-x1).

# Fast linear interpolation of equally spaced data (c-mex and m) in matlab

The following Matlab project contains the source code and Matlab examples used for fast linear interpolation of equally spaced data (c-mex and m) . ScaleTime - fast linear matrix interpolation I have recorded timeseries of e.

# A parabolic lagrangian interpolating polynomial function in matlab

The following Matlab project contains the source code and Matlab examples used for a parabolic lagrangian interpolating polynomial function. This function uses a non-linear interpolation (Lagrange) to estimate y given x, based on a set of observed x-y points.

# Image(or matrix) rotation and scaling function in matlab

The following Matlab project contains the source code and Matlab examples used for image(or matrix) rotation and scaling function. This function takes an image or matrix and rotate it by theta (radian, rigid motion) The image could also be enlarged or shrinked by an optional scaling factor  img: input image (or or a 2D Matrix)  dtheta: the amount of rotation in radian  scale: a scalar number that scales the image (default=1)  interpMethod:       'nearest' - nearest neighbor interpolation       'linear' - bilinear interpolation (defalt)

# Nvidia cuda based bilinear (2d) interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for nvidia cuda based bilinear (2d) interpolation. This code was inspired by Alexander Huth's bilinear interpolation approach ( http://www.

# 2d cuda based bilinear interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for 2d cuda based bilinear interpolation. This MEX performs 2d bilinear interpolation using an NVIDIA graphics chipset.

# Image shrinking using bilinear interpolation in matlab

The following Matlab project contains the source code and Matlab examples used for image shrinking using bilinear interpolation. The code shrinks the image using bilinear interpolation. The shrinking factor can be modified to get the desired shrink.

# Bilinear interpolation of an image or matrix in matlab

The following Matlab project contains the source code and Matlab examples used for bilinear interpolation of an image or matrix. This function uses biLinear interpolation and looks at 4 pixels around the target location with ceil convention.