Code covered by the BSD License  

Highlights from
Piecewise spline interpolation

2.33333

2.3 | 3 ratings Rate this file 7 Downloads (last 30 days) File Size: 3.02 KB File ID: #17610
image thumbnail

Piecewise spline interpolation

by Orlando Rodríguez

 

20 Nov 2007 (Updated 20 Nov 2007)

Code to interpolate function values and corresponding deivatives.

| Watch this File

File Information
Description

Piecewise cubic spline interpolation and approximated calculation of first and second derivative at the interpolation point.

MATLAB release MATLAB 5.2 (R10)
Other requirements Requires bindex (available at FEX).
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
20 Nov 2007 Duane Hanselman

Why duplicate what the MATLAB function spline does? The derivatives are easily computed the few times they are needed using the pp output of spline. This function requires the spline coefficients to be computed every time, whereas the pp output of spline can be reused. What are the end conditions used in this spline fit function?

07 Feb 2008 ganesh bhosale

matlab code of cubic spline interpolation applyied on image

08 Apr 2008 gitu patel  
11 Jun 2010 Tom Clark

I agree with Duane. This adds no functionality to MATLAB (even for users who do not have the spline toolbox).

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
approximation Orlando Rodríguez 22 Oct 2008 09:36:06
interpolation Orlando Rodríguez 22 Oct 2008 09:36:06
derivatives Orlando Rodríguez 22 Oct 2008 09:36:06
splines Orlando Rodríguez 22 Oct 2008 09:36:06
mathematics Orlando Rodríguez 22 Oct 2008 09:36:06

Contact us at files@mathworks.com