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

 
 

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

Submitted by:  Malte Hinrichs <maldje>
Submitted on:  Wed 26 Nov 2014 10:46:09 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Malte HinrichsOpen/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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.

(file #32763, file #32764)

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by maldje (Submitted the item)
  • -unavailable- added by maldje
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 17 Dec 2016 12:54:20 AM UTCrik5StatusNeed Info=>Confirmed
      Release3.8.0=>dev
      Operating SystemMac OS=>Any
    Mon 05 Jan 2015 04:42:02 PM UTCNoneAttached File-=>Added interpn_bug.jpg, #32763
      Attached File-=>Added interpn_workaround.jpg, #32764
    Mon 29 Dec 2014 07:20:40 PM UTCrik5StatusNone=>Need Info
    Wed 26 Nov 2014 10:46:09 AM UTCmaldjeAttached File-=>Added bug_interpn.m, #32547
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1