octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different spline results when running the same script in Matlab and


From: Carlo Dietl
Subject: Re: Different spline results when running the same script in Matlab and Octave
Date: Wed, 4 May 2016 18:41:29 +0200

Dear Nir,

is the new csape file also yet part of the splines package? Or how can I incorporate it into splines and octave?

Thanks!

Carlo


Dr. Carlo Dietl
Gesteinslabor Dr. Eberhard Jahns
Hospitalstr. 13
37308 Heiligenstadt
Germany
Tel.: +49 36 06 60 737-14
Fax: +49 36 06 60 737-49

Am 04.05.2016 um 17:42 schrieb Nir Krakauer <address@hidden>:

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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]