Code covered by the BSD License  

Highlights from
Interpolation Utilities

5.0

5.0 | 2 ratings Rate this file 74 Downloads (last 30 days) File Size: 31.9 KB File ID: #36800

Interpolation Utilities

by

 

22 May 2012 (Updated )

A variety of interpolation utilities

| Watch this File

File Information
Description

This zip file contains twenty functions related to interpolation. The functions are:

1) baryinv.m performs barycentric interpolation with inverse distance weighting
2) cakima.m performs piecewise cubic Akima interpolation
3) cbezier.m performs piecewise cubic Bezier spline interpolation
4) chermite.m performs piecewise cubic Hermite spline interpolation
5) cosint.m performs piecewise cosine interpolation
6) cubiconv.m performs cubic convolution interpolation
7) divdiff.m calculates divided differences
8) expint.m calculates piecewise exponential interpolation
9) floaterhormann.m performs rational interpolation using the Floater-Hormann Method
10) fractint.m performs self-affine fractal interpolation for specific interpolation points
11) hermint.m performs piecewise Hermite interpolation
12) interpdct.m performs interpolation using the DCT method
13) lagint.m performs piecewise Lagrange interpolation
14) mqspline.m performs piecewise monotone quadratic spline interpolation
15) neville.m performs interpolation using Neville's Method
16) newtint.m performs interpolation of equally-spaced points
17) qhermite.m performs piecewise quintic Hermite interpolation
18) rchermite.m performs piecewise rational cubic Hermite spline interpolation
19) safif.m performs self-affine fractal interpolation
20) said.m performs piecewise Said interpolation
21) schwerner.m performs rational interpolation using the Schneider-Werner Method
22) shermite.m performs piecewise septic Hermite interpolation
23) sincdint.m performs piecewise discrete sinc interpolation
24) sincint.m performs piecewise sinc interpolation
25) trigint.m performs piecewise trigonometric interpolation

Required Products MATLAB
MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
25 Jun 2014 Rody Oldenhuis  
08 Feb 2014 Grzesiek

Sorry for my last comment. Everything is alright. My mistake. Data were not equally spaced.

Very good utilities. Thanks

08 Feb 2014 Grzesiek

in newtint.m file there is an error in Everett's method (line 163) and Stirling's method (line 136).

Error msg: newtint: A(I,J): row index out of bounds; value 5 out of bound 4

I tried to execute the following command:

y = [308.6 362.6 423.3 491.4];
x = [0.055389 0.047485 0.040914 0.035413];
c = 4; %c=3
newtint(x,y,[0.04],c)

Updates
17 Aug 2012

Changed the finite difference calculation in chermite.m
Added a septic hermite interpolator, shermite.m

12 Sep 2012

Modified sincdint.m and sincint.m and added trigint.m

01 Oct 2012

Updated sincint.m

15 Oct 2012

Added finite difference function to rchermite.m

16 Oct 2012

updated epsilon computations

17 Oct 2012

updated trigint.m

25 Oct 2012

Added said.m for piecewise Said interpolation

26 Oct 2012

added comment to said.m

01 Nov 2012

updated trigint.m

02 Nov 2012

updated trigint.m to handle an even number of datapoints

05 Nov 2012

updated monotone condition in chermite.m

12 Nov 2012

Updated output arguments when error conditions occur

13 Nov 2012

added mqspline.m and harmonic mean monotone options

27 Nov 2012

Added expint.m; added second derivative calculations to lagint.m and hermint.m

27 Nov 2012

added expint.m

25 Jan 2013

Modified window condition in sincint.m

18 Nov 2013

Added fractint.m and safif.m and added a fractional delay filter to interpdct.m

31 Dec 2013

Added boundary conditions to helper function in newtint.m

10 Feb 2014

Changed kernel tolerance in schwerner.m

Contact us