bugGNU Octave - Bugs: bug #38855, roots([0,0]) is error in Octave,...


bug #38855: roots([0,0]) is error in Octave, empty matrix in Matlab

Submitted by:  Richard <crobar>
Submitted on:  Mon 29 Apr 2013 06:06:13 PM UTC  
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Fixed Assigned to:  None
Originator Name:  Richard Crozier Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


Tue 18 Jun 2013 01:08:27 AM UTC, comment #2:

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/80b9a9e1c965). The change was on the development branch so you will need to build from Mercurial sources or wait for the next stable release to see the fix.

Rik <rik5>
Project Administrator
Mon 29 Apr 2013 06:33:21 PM UTC, comment #1:

According to matlab's help for roots, leading zeros in the vector of poly coefficients are discarded before computing the roots.

Richard <crobar>
Mon 29 Apr 2013 06:06:13 PM UTC, original submission:

Octave (on the classdef branch):

Matlab R2012a

Richard <crobar>


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

Attach Files:

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 crobar (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-06-18 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3