bugGNU Octave - Bugs: bug #41267, interp2 with 3D input

 
 

bug #41267: interp2 with 3D input

Submitter:  Muhali <muhali>
Submitted:  Fri 17 Jan 2014 07:41:15 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 19 Apr 2014 04:29:26 PM UTC, comment #1: 

I fixed the input validation to issue an error if the input Z matrix is not 2-D (http://hg.savannah.gnu.org/hgweb/octave/rev/900b524d9072).  Closing report.

Rik <rik5>
Group administrator
Fri 17 Jan 2014 07:41:15 PM UTC, original submission:  


Z = rand(8,6,2);
interp2 (1:6, 1:8, Z, (2:2:6)', 2:2:8);


produces the same 2D result as with Z(:,:,1). However, it
should either give an error message (as in ML) or, similar to interp1, output a corresponding 3D array.

Muhali <muhali>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by muhali (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2014-04-19 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2014-01-19 mtmiller CategoryNone Octave Function
        Item GroupNone Incorrect Result

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code