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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Richard CrozierOpen/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 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 File(s):

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 rik5 (Posted a comment)
  • -unavailable- added by crobar (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 18 Jun 2013 01:08:27 AM UTCrik5StatusNone=>Fixed

    Back to the top

    Powered by Savane 3.1-cleanup1