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

 
 

bug #33532: std Matlab compatibility issue

Submitted by:  Arnaud Delorme <arnodelorme>
Submitted on:  Sat 11 Jun 2011 03:36:31 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.4.0Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

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>
Project 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 http://www.mathworks.com.

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


ans =

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

>>

Michael Godfrey <godfrey>
Project 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:

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

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

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 14 Jul 2011 12:48:34 AM UTCrik5StatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Sun 26 Jun 2011 11:52:44 PM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1