bugGNU Octave - Bugs: bug #33532, std Matlab compatibility issue

 
 

bug #33532: std Matlab compatibility issue

Submitter:  Arnaud Delorme <arnodelorme>
Submitted:  Sat 11 Jun 2011 03:36:31 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.4.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 14 Jul 2011 12:48:34 AM UTC, comment #3: 

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/645a87434fcb).  Empty arrays are passed through to output now without generating any warning.

Rik <rik5>
Group administrator
Mon 27 Jun 2011 12:18:57 AM UTC, comment #2: 

                                           < M A T L A B (R) >
                                 Copyright 1984-2009 The MathWorks, Inc.
                               Version 7.9.0.529 (R2009b) 64-bit (glnxa64)
                                             August 12, 2009

 
  To get started, type one of these: helpwin, helpdesk, or demo.
  For product information, visit www.mathworks.com.
 

>> std (ones(3,1,0,3))


ans =

   Empty array: 1-by-1-by-0-by-3

>>


Michael Godfrey <godfrey>
Group Member
Sun 26 Jun 2011 11:52:44 PM UTC, comment #1: 

I need a little more information.  What does matlab return for the following:


std (ones(3,1,0,3))


Is it just a null matrix (0x0) or is it a null matrix of the same dimensions as the input (3x1x0x3)

Rik <rik5>
Group administrator
Sat 11 Jun 2011 03:36:31 PM UTC, original submission:  

std() function cannot process empty entry 

std([]) % crashes

Arnaud Delorme <arnodelorme>

 

(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 godfrey (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by arnodelorme (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-07-14 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2011-06-26 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code