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

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

[Octave-bug-tracker] [bug #46126] Polyfit bug: Different polynomial coef


From: anonymous
Subject: [Octave-bug-tracker] [bug #46126] Polyfit bug: Different polynomial coefficients when using optional output
Date: Mon, 05 Oct 2015 07:49:57 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0

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

                 Summary: Polyfit bug: Different polynomial coefficients when
using optional output
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Mo 05 Okt 2015 07:49:56 UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Nicole Dröge
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Using the polyfit function without the optional arguments

p1 = polyfit(x,y,N)

gives different polynomial coefficients p than using polyfit with the optional
arguments

[p2,s,mu] = polyfit(x,y,N)

My expectation and understanding of the polyfit doc is that p1=p2, but it is
p1!=p2.
I am using an Win 7, 64 bit system with MinGW-32bit.

Attached I send an input file, which produces the error, and also log files of
Octave 4.0.0 and 3.6.4 of the console output where the results can be
reviewed.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mo 05 Okt 2015 07:49:56 UTC  Name: Bug_polyfit.m  Size: 1kB   By: None
Input file, which produces the bug, and output files with calculation results
<http://savannah.gnu.org/bugs/download.php?file_id=35066>
-------------------------------------------------------
Date: Mo 05 Okt 2015 07:49:56 UTC  Name: Bug_polyfit_Octave3.6.4.out  Size:
1kB   By: None
Input file, which produces the bug, and output files with calculation results
<http://savannah.gnu.org/bugs/download.php?file_id=35067>
-------------------------------------------------------
Date: Mo 05 Okt 2015 07:49:56 UTC  Name: Bug_polyfit_Octave4.0.0.out  Size:
1kB   By: None
Input file, which produces the bug, and output files with calculation results
<http://savannah.gnu.org/bugs/download.php?file_id=35068>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.gnu.org/




reply via email to

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