octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #38855] roots([0, 0]) is error in Octave, empt


From: Richard
Subject: [Octave-bug-tracker] [bug #38855] roots([0, 0]) is error in Octave, empty matrix in Matlab
Date: Mon, 29 Apr 2013 18:06:14 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.3) Gecko/20100101 Firefox/10.0.3

URL:
  <http://savannah.gnu.org/bugs/?38855>

                 Summary: roots([0,0]) is error in Octave, empty matrix in
Matlab
                 Project: GNU Octave
            Submitted by: crobar
            Submitted on: Mon 29 Apr 2013 18:06:13 GMT
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Richard Crozier
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

Octave (on the classdef branch):


>> roots([0,0])
warning: division by zero
warning: division by zero
error: eig: EIG: matrix contains Inf or NaN values
error: called from:
error:   /usr/local/share/octave/3.7.3+/m/polynomial/roots.m at line 104,
column 5 


Matlab R2012a


>> roots([0,0])

ans =

   Empty matrix: 0-by-1





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?38855>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]