Zygotech Polynomial Interpolation
Kriging and inverse distance are popular interpolation methods, especially in earth sciences. There are some routines already available on matlab but are severely limited by matlabs memory constraints. By using gstat to handle interpolation and variogram modelling, very large datasets are easily...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Kriging and Inverse Distance Interpolation using GSTAT Download |
Often, measured data is comprised of N sampled values of z, evaluated at N locations (x,y). With this function, you can calculate the coefficients of the best-fit x,y polynomial using a linear least squares approximation.You can use this function if you have a set of N data triplets x,y,z, and...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (53): 3D Least squares polynomial fit in x and y Download |
This is a demo of MATLAB Excel Builder. This demo explains how one can compile MATLAB code into an Excel based COM component using MATLAB Excel Builder. This demo compiles a MATLAB code that depicts Univariate Interpolation into an Excel based COM component. Following this, it also explains how...
Platforms: Matlab
License: Freeware | Size: 266.24 KB | Download (44): Excel Builder Demo: Univariate Interpolation Download |
This is a demo program of the paper Ant colony optimization for wavelet-based image interpolation using a three-component exponential mixture model," Expert Systems with Applications, Vol. 38, No. 10, Sept. 2011, pp. 12514-12520.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 245.76 KB | Download (43): Ant colony optimization for wavelet-based image interpolation Download |
LaguerreGen calculates the generalized Laguerre polynomial L{n, alpha}This function computes the generalized Laguerre polynomial L{n,alpha}.If no alpha is supplied, alpha is set to zero and this function calculates the "normal" Laguerre polynomial.Input: - n = nonnegative integer as degree level...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (49): Generalized Laguerre polynomial Download |
% Fast nearest, bi-linear and bi-cubic interpolation for image data%% Usage:% ------% Z = ba_interp2(F, X, Y, [method])%% where method is one off nearest, linear, or cubic.%% F is a WxHxD Image with an arbitrary number of layers D.% X, Y are I_1 x ... x I_n matrices with the x and y coordinates...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 1.89 MB | Download (43): Image Interpolation (ba_interp2) Download |
This code was inspired by Alexander Huth's bilinear interpolation approach( http://www.mathworks.com/matlabcentral/fileexchange/20248 )also using the GPU's built-in bilinear texture interpolation capability, which is indeed very fast.The speedup is depending on your CUDA enabled graphics...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 61.44 KB | Download (44): NVIDIA CUDA-based bilinear (2D) interpolation Download |
Polynomial division by convolution.Calculate inverse Z-transform -- (Polynomial division) - Up to K terms, q(z) = b(z)/a(z),where b(z)=b(0)+...+b(k)/z^k +...+b(n)/z^n. a(z)=a(0)+...+a(k)/z^k +...+a(m)/z^m. q(z)=q(0)+...+q(k)/z^k +...+q(K)/z^K + ......If coefficients of b(x) and a(x) are all...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Polynomial division by convolution -- up to finite terms Download |
It returns a vector POL, if it exists, such that conv(POL,POL) = P. P is a vector whose elements are the coefficients of a polynomial in descending powers
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Polynomial Square Root Download |
This demo shows how you can create a COM component from a MATLAB code using MATLAB COM Builder and use the same in an external project independent of MATLAB. This demo compiles a function that uses MATLAB Interpolation capability into a COM component and uses it in an external Visual Basic...
Platforms: Matlab
License: Freeware | Size: 184.32 KB | Download (46): COM Builder Example: Univariate Interpolation Download |
Syntax: ui=NewtFit(x,y,z,u,xi,yi,zi)3D interpolation. It may be used where griddata3 fails to find a triangularization of the datagrid (x,y,z). The function uses a modified 4 point Newton interpolation formula for vector arguments in 3D instread of scalars used in 1D. The interpolation is...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): 3D Data Interpolation Download |
This is a solution of Hermite interpolation problem. example: A=[-1 2 -1 inf; 0 1 inf inf;1 -1 -1 8] x f(x) f'(x) f''(x) . . . A = -1 2 -1 Inf 0 1 Inf Inf 1 -1 -1 8 If you don't know the derive values, just write Inf. Use this command: difftable(A) And you can see the divided difference table,...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Hermite interpolation Download |
iminterpn uses Image Processing Toolbox functions to implement multidimensional interpolation. Unlike the MATLAB function interpn, iminterpn can interpolate an integer array (such as uint8, uint16, etc.) without converting it to double.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Multidimensional interpolation with integer inputs Download |
This function performs interpolation faster than MATLAB's "interp1" function. In the limit of small library and search arrays, it is ~5x faster. In the limit of large library arrays, qinterp1 has a flat scaling, while interp1 has a linearly increasing scaling (see the image for this file)....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Fast interpolation Download |
When interpolating a multivalued function (more than one y for each x), interp1 produces, at best, an error (if there are identical x data), and at worst, garbage (see the attached image). This function performs meaningful interpolation of a multivalued function, when the inverse (x = g(y)) is a...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Multivalued function interpolation Download |
This function uses a non-linear interpolation (Lagrange) to estimate y given x, based on a set of observed x-y points. Coordinates will be sorted based on the x-value of the pair. The x-value provided by the user to calculate y will be estimated using two points left and two points right of the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): A Parabolic Lagrangian Interpolating Polynomial Function Download |
This code implements the 1D polynomial regression method. It uses the least square method for the finding of regression polynomial coefficents. Outputs of the script are polynomial regression coefficients, residuals, the sum of squared errors, the determination index and the graphical comparison...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): The polynomial regression method Download |
POLYFACT Polynomial FactorizationQ = POLYFACT(A) returns the factorization of polynomial A. Input variable A must be a vector with integer coefficients in descending order. e.g. [3 7 2] represents 3*x^2+7x+2 Output Q is a cell array with each index being a polynomial factor, with integer...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Polynomial Factorization Download |
PP = PCHIPD(X,Y,D) provides the piecewise cubic polynomial which interpolates values Y and derivatives D at the sites X. This is meant to augment the built-in Matlab function PCHIP, which does not allow the user to specify derivatives.X must be a vector.If Y and D are vectors, then Y(i) and D(i)...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Hermite cubic interpolating polynomial with specified derivatives Download |
NROOTS attempts to find all the roots of a real/complex polynomial. It uses a two-step algorithm: a first-approximation to a root is found via the companion matrix method (as per the built-in function ROOTS) and then this approximation is refined (polished) via a Newton-Raphson iteration scheme....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): NROOTS: complex polynomial root finder Download |