Re: Different spline results when running the same script in Matlab and
From:
Nir Krakauer
Subject:
Re: Different spline results when running the same script in Matlab and Octave
Date:
Wed, 4 May 2016 11:42:36 -0400
I figured out the reason. The default condition in csape was zero first derivatives at the endpoints, which isn't a great choice. I modified it to be the same as what Matlab uses. If you now use the new version from https://sourceforge.net/p/octave/splines/ci/default/tree/inst/csape.m?format=raw you should get the same result as Matlab.