bugGNU Octave - Bugs: bug #46577, interp2 with NaNs

 
 

bug #46577: interp2 with NaNs

Submitted by:  Muhali <muhali>
Submitted on:  Tue 01 Dec 2015 02:27:58 PM UTC  
 
Category: Octave FunctionSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Open/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.

 

Mon 21 Dec 2015 11:59:16 AM UTC, comment #1:

With the data provided you'll never get reconcilable results. This is not part of a Numeric Software to correct corrupted data with NaNs. To get your job done, ask where the NaNs come from, filter the data and properly use the routine interp2 according to the documentation.

I leave this bug report open, in case someone is willing to provide a check for NaNs and warn as Matlab does.

Kai Torben Ohlhus <siko1056>
Project Member
Tue 01 Dec 2015 02:27:58 PM UTC, original submission:

The attached file 'foo.ot' contains NaNs in the variable Z. Now when I do

I get no warnings in octave. In ML, I get a corresponding warning from interp2 and a result that is different from octave. It is unclear what to do to reconcile the results.

Muhali <muhali>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #35607:  foo.ot added by muhali (4KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by siko1056 (Posted a comment)
  • -unavailable- added by muhali (Submitted the item)
  •  

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 21 Dec 2015 11:59:16 AM UTCsiko1056CategoryNone=>Octave Function
      Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      Item GroupMatlab Compatibility=>Incorrect Result
      StatusNone=>Confirmed
      Operating SystemGNU/Linux=>Any
    Tue 01 Dec 2015 02:27:58 PM UTCmuhaliAttached File-=>Added foo.ot, #35607

    Back to the top


    Powered by Savane 3.1-cleanup1