bugGNU Octave - Bugs: bug #43702, ...

 
 

bug #43702: interpn(X1,X2,F,iX1,iX2"spline") yields incorrect results when iX1,iX2 are matrices

Submitter:  Malte Hinrichs <maldje>
Submitted:  Wed 26 Nov 2014 10:46:09 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Malte Hinrichs Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 17 Dec 2016 12:54:20 AM UTC, comment #4: 

Yes, it is valid syntax and Octave really should accept it.  I've updated the bug report to confirm the status and note that this affects any OS.

Rik <rik5>
Group administrator
Fri 16 Dec 2016 11:30:53 PM UTC, comment #3: 

I have tested this with Octave 4.2.0. The issue is still the same. (And this is NOT resticted to Mac OS as the current tag suggests.)

I still do get the same results as in comment #0. The two versions of the plot do look very different.

The calls to interpn look like proper Matlab syntax to me (I haven't tested in Matlab, though). Octave might give wrong results when calculating with this input syntax (matrices as iX1,iX2,...).


Hartmut <hardy>
Mon 05 Jan 2015 04:42:02 PM UTC, comment #2: 

On my system the result is much different.

The content of matrix iZ is not the same. This is reflected by different plots. Please see check the included images.




Anonymous
Mon 29 Dec 2014 07:20:40 PM UTC, comment #1: 

Could you describe more specifically what the bug is?  I ran the script with Version set to "interpn" and "interpn_bug" and the plot looks the same to me.

Rik <rik5>
Group administrator
Wed 26 Nov 2014 10:46:09 AM UTC, original submission:  

The behavior is demonstrated in the attached input file.
Set the variable Version to "interpn" and "interpn_bug" for testing.

Malte Hinrichs <maldje>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #32763:  interpn_bug.jpg added by None (147KiB - image/jpeg)
file #32764:  interpn_workaround.jpg added by None (139KiB - image/jpeg)
file #32547:  bug_interpn.m added by maldje (597B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by maldje (Submitted the item)
  • -email is unavailable- added by maldje
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-17 rik5 StatusNeed Info Confirmed
        Release3.8.0 dev
        Operating SystemMac OS Any
    2015-01-05 None Attached File- Added interpn_bug.jpg, #32763
        Attached File- Added interpn_workaround.jpg, #32764
    2014-12-29 rik5 StatusNone Need Info
    2014-11-26 maldje Attached File- Added bug_interpn.m, #32547
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code