octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40584] spline does not accept row vectors for


From: Andreas Weber
Subject: [Octave-bug-tracker] [bug #40584] spline does not accept row vectors for X, Y when not-a-knot end condition
Date: Thu, 14 Nov 2013 21:28:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131030 Firefox/17.0 Iceweasel/17.0.10

URL:
  <http://savannah.gnu.org/bugs/?40584>

                 Summary: spline does not accept row vectors for X, Y when
not-a-knot end condition
                 Project: GNU Octave
            Submitted by: andy1978
            Submitted on: Do 14 Nov 2013 21:28:29 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:


x = [1 2 3];
y = [0 0.5 1.5 1 0]; #first and last are derivatives

## this works:
PP = spline(x,y);
     
##this not:
PP = spline(x',y');


Both calls of spline works in matlab but octave returns for the second:

error: spline: A(I,J): row index out of bounds; value 3 out of bound 1
error: called from:
error:   /usr/local/share/octave/3.7.7+/m/polynomial/spline.m at line 161,
column 9


hg id 8e9532632838




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40584>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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