bugGNU Octave - Bugs: bug #43698, ismatrix not Matlab compatible

 
 

bug #43698: ismatrix not Matlab compatible

Submitted by:  Kai Torben Ohlhus <siko1056>
Submitted on:  Tue 25 Nov 2014 03:57:15 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: DuplicateAssigned to: None
Originator Name: Open/Closed: Closed
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.

 

Tue 25 Nov 2014 04:03:53 PM UTC, comment #1:

Sorry, duplicate of bug #42422.

Thanks for the bug report. This particular bug has already been
reported into our bug tracking system, but please feel free to
report any further bugs you find.

Kai Torben Ohlhus <siko1056>
Project Member
Tue 25 Nov 2014 03:57:15 PM UTC, original submission:

I'm not sure, weather this is a Matlab bug or a compatibility issue. In general Matlab claims, that ismatrix should return true, if the argument has exactly two non-zero dimensions. This includes for example function handles as well and excludes 3D-Matrices.

http://www.mathworks.com/help/matlab/ref/ismatrix.html

https://www.gnu.org/software/octave/doc/interpreter/Predicates-for-Numeric-Objects.html#XREFismatrix

Fixing this is quite easy, but might break lots of code, as it is such an elementary function.

Matlab 2014a:

Octave dev:

Kai Torben Ohlhus <siko1056>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by siko1056 (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 25 Nov 2014 04:00:37 PM UTCsiko1056StatusNeed Info=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1