(
Jump to the original submission)
Tue 09 May 2017 10:13:05 AM UTC, comment #9:
Closing report as invalid.
|
Tue 09 May 2017 06:32:45 AM UTC, comment #8:
Damn, thanks a lot. Yes, this report can be closed.
|
Tue 09 May 2017 06:26:38 AM UTC, comment #7:
In the file lab.m you have
rank=rank(Q_C)
this overrides function "rank" with variable "rank".
Change it to something like
rank0 = rank(Q_C)
(and later the line
if rank ==
Dmitri.
p.s. I think we can close this bug report.
--
|
Tue 09 May 2017 05:56:28 AM UTC, comment #6:
lab.m works with precise_rank(), but not rank().
|
Tue 09 May 2017 05:51:48 AM UTC, comment #5:
Octave output:
I just tried other equations for 'tol', and both work:
tol = max (size (A)) * s(1) * eps;
tol = max (size(A)) * eps (max(s));
|
Tue 09 May 2017 05:22:23 AM UTC, comment #4:
It the same.
Could you execute the attached script file (t_rank.m)
(which is pretty much your test case) and post the output?
Dmitri.
--
(file #40624)
|
Tue 09 May 2017 05:03:29 AM UTC, comment #3:
On my machine, eps returns 2.2204e-016, both in Matlab and Octave. Do you get something different?
|
Tue 09 May 2017 05:00:40 AM UTC, comment #2:
I cannot reproduce this on linux:
Dmitri.
--
|
Tue 09 May 2017 04:51:03 AM UTC, comment #1:
Just found this: http://octave.1599824.n4.nabble.com/tol-in-rank-function-td4680288.html
|
Tue 09 May 2017 04:28:29 AM UTC, original submission:
Script:
Matlab output:
Octave output:
|
(Note: upload size limit is set to 16384 kB, after insertion of the required
escape characters.)
Attach File(s):
Comment:
Depends on the following items: None found
Items that depend on this one: None found
Follow 6 latest changes.