help-octave
[Top][All Lists]
Advanced

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

Re: trouble with qr function


From: Doug Stewart
Subject: Re: trouble with qr function
Date: Sun, 3 Jan 2016 16:46:37 -0500



On Sun, Jan 3, 2016 at 12:31 PM, ken1866 <address@hidden> wrote:
I'm trying out the qr function in Octave version 4.0.  According to the user
guide page 474, the following is a valid usage: [C, R]=qr(A,B,'0'), but I
get an error when trying it:

printf("Octave version = %s\n",version);
A = [1, 2; 3, 4]
B = [0.2; 4]
[C, R] = qr (A, B, '0')

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')

Oddly, the error message says that valid usage is exactly what I tried.
What's going on?



I see the same thing you are seeing, and I don't know why it is not working. 


reply via email to

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