[Top][All Lists]

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

[Octave-bug-tracker] [bug #30342] 'interp1' doesn't handle missing x val

From: Søren Hauberg
Subject: [Octave-bug-tracker] [bug #30342] 'interp1' doesn't handle missing x values
Date: Sun, 04 Jul 2010 10:45:56 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; da-DK; rv: Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6


                 Summary: 'interp1' doesn't handle missing x values
                 Project: GNU Octave
            Submitted by: hauberg
            Submitted on: Sun 04 Jul 2010 12:45:55 PM CEST
                Category: Interpreter
                Severity: 3 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux




It seems like Matlab allows you to do something like

  y = 1:4;
  xi = 2.5;
  interp1 (y, xi);

while Octave complains that we don't get enough input arguments. I tried to
see if I could change the current code to cope with this, but I failed.
Attached is a different way of trying to interpret what the user wants, that
seems to work quite well for me, but if somebody can come up with a smaller
change then I guess that would be better.

Any thoughts on this?



File Attachments:

Date: Sun 04 Jul 2010 12:45:55 PM CEST  Name: interp1.patch  Size: 2kB   By:



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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