[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:1.9.2.6) Gecko/20100628 Ubuntu/10.04 (lucid) Firefox/3.6.6 |
URL:
<http://savannah.gnu.org/bugs/?30342>
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
_______________________________________________________
Details:
Hi
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?
Søren
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 04 Jul 2010 12:45:55 PM CEST Name: interp1.patch Size: 2kB By:
hauberg
<http://savannah.gnu.org/bugs/download.php?file_id=20891>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?30342>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #30342] 'interp1' doesn't handle missing x values,
Søren Hauberg <=