[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35739] discontinuous derivative from spline w
From: |
Keith Lindsay |
Subject: |
[Octave-bug-tracker] [bug #35739] discontinuous derivative from spline w/ 3 points and endpoint derivative |
Date: |
Wed, 07 Mar 2012 06:17:30 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0 |
URL:
<http://savannah.gnu.org/bugs/?35739>
Summary: discontinuous derivative from spline w/ 3 points and
endpoint derivative
Project: GNU Octave
Submitted by: klindsay
Submitted on: Wed 07 Mar 2012 06:17:29 AM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.1
Operating System: Microsoft Windows
_______________________________________________________
Details:
Hi,
x = 0:.1:2;
pp = spline([0 1 2], [0 0 1 0 0]);
plot(x,ppval(pp,x));
generates a figure with a discontinuous derivative at
x=1, the middle point. The returned piecewise polynomial
has coefs
0 1 0 0
0 1 -2 1
while matlab Version 7.11.0.584 returns
-2 3 0 0
2 -3 0 1
Could this be looked into please?
Thanks,
Keith Lindsay
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35739>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35739] discontinuous derivative from spline w/ 3 points and endpoint derivative,
Keith Lindsay <=