nsplines

SourceForge.net Logo
Natural splines curve interpolation

Overview

PDF manual "ns.pdf" available
german PDF manual "ns-de.pdf" available

The nsplines package contains *.m- and *.sci-files for curve interpolation using natural splines. The *.m files are for use with GNU Octave, the *.sci files are for use with SciLab.

This package uses a BSD-style license. If the GNU Octave and/or SciLab authors want to bundle these files with their software I'm willing to add additional licenses for that purpose.

The image below shows some specified curve points (i.e. from measurements) and the natural spline curve interpolation created by nsplines.
The GnuPlot program was used to draw the points and the curve.
 

 

Current version: 1.0.2

Latest changes:

  • Function ns_psfile() and nssp_psfile() added.
    Both functions produce PostScript code which can be used in LaTeX documents to plot the natural spline interpolation using the pst-plot package.