New function: lsqnonlin
Ben Abbott
bpabbott at mac.com
Thu Apr 3 07:27:43 CDT 2008
On Apr 2, 2008, at 11:58 PM, Bill Denney wrote:
> If someone has a source of additional tests, I would appreciate it.
>
> Thanks,
>
> Bill
There's an example at the link below.
http://riebecca.blogspot.com/2007/12/supercomputing-course-example.html
Specifically,
%!test
%! C = [rotdim(2.^(2:7)*1e8,-1), ones(6,1), rotdim(2.^(3:8),-1)
ones(6,1)];
%! d = [58.6; 30.0; 15.2; 7.7; 3.9; 2.1];
%! x = [2.3357e-6; 0.4229; 0; 0];
%! assert (lsqnonneg (C, d), x, 0.0001)
It fails for me .... however, my current build of Octave might be
suspect.
Ben
More information about the Octave-maintainers
mailing list