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 13:33:09 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0

Follow-up Comment #2, bug #42512 (project octave):

Hi,

thanks for the answer, the output for your commands below. I am running Octave
3.8.1, I compiled it myself from the official sources to enable 64bit support.
My OS is the current Ubuntu 14.04 LTS.

%%%%%%%%%%%%%%%%%
dbstop polyfit 114
ans =  114
octave:2> polyfit ([0 1 2], [0 1 4], 2)
stopped in /opt/octave3.8/share/octave/3.8.1/m/polynomial/polyfit.m at line
114
114:   [q, r, k] = qr (v(:, polymask), 0);
debug> type qr
qr is a dynamically-linked function
debug> whos
Variables in the current scope:

   Attr Name                 Size                     Bytes  Class
   ==== ====                 ====                     =====  ===== 
        ans                  1x1                          8  double
  a     argn                 3x9                         27  char
        l                    1x1                          8  double
        m                    1x1                          8  double
    f   n                    1x1                          8  double
        polymask             1x3                          3  logical
        v                    3x3                         72  double
    f   x                    3x1                         24  double
    f   y                    3x1                         24  double
        y_is_row_vector      1x1                          1  logical

Total is 50 elements using 183 bytes

debug> qr
error: Invalid call to qr.  Correct usage is:

 -- Loadable Function: [Q, R, P] = qr (A)
 -- Loadable Function: [Q, R, P] = qr (A, '0')
 -- Loadable Function: [C, R] = qr (A, B)
 -- Loadable Function: [C, R] = qr (A, B, '0')
 
error: called from:
error:   /opt/octave3.8/share/octave/3.8.1/m/help/print_usage.m at line 85,
column 5

    _______________________________________________________

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]