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

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

[Octave-bug-tracker] [bug #42512] polyfit function produces error


From: Anton
Subject: [Octave-bug-tracker] [bug #42512] polyfit function produces error
Date: Thu, 05 Jun 2014 09:51:07 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

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

                 Summary: polyfit function produces error
                 Project: GNU Octave
            Submitted by: ajf
            Submitted on: Thu 05 Jun 2014 09:51:06 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Anton
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When calling polyfit with a value for n of larger than 0, e.g. polyfit([0 1
2],[0 1 4], 2), I get the following error:
error: qr: subscript indices must be either positive integers less than 2^63
or logicals
error: called from:
error:   /opt/octave3.8/share/octave/3.8.1/m/polynomial/polyfit.m at line 114,
column 10

The error does not occur if I just want to estimate the constant term, e.g.
polyfit([0 1 2],[0 1 4], 0), but for anything larger than 0 it produces the
error.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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