From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RCz8f-000811-P3 for garchives@archives.gentoo.org; Sun, 09 Oct 2011 19:34:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5255921C070; Sun, 9 Oct 2011 19:34:11 +0000 (UTC) Received: from cl-mail.uni-potsdam.de (cl-mail.rz.uni-potsdam.de [141.89.68.1]) by pigeon.gentoo.org (Postfix) with ESMTP id 3939F21C0E8 for ; Sun, 9 Oct 2011 19:33:58 +0000 (UTC) Received: from arnim.rz.uni-potsdam.de (arnim.rz.uni-potsdam.de [141.89.68.11]) by cl-mail.uni-potsdam.de (8.14.4/8.14.4) with ESMTP id p99JXvjT016327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 9 Oct 2011 21:33:58 +0200 (CEST) Received: from uni-potsdam.de (localhost.localdomain [127.0.0.1]) by arnim.rz.uni-potsdam.de (8.13.8/8.13.8) with ESMTP id p99JXufx005608 for ; Sun, 9 Oct 2011 21:33:57 +0200 Received: from p57B9D9C9.dip.t-dialin.net (p57B9D9C9.dip.t-dialin.net [87.185.217.201]) by webmail.uni-potsdam.de (Horde MIME library) with HTTP; Sun, 09 Oct 2011 21:33:56 +0200 Message-ID: <20111009213356.bc2nihup8gwccw88@webmail.uni-potsdam.de> Date: Sun, 09 Oct 2011 21:33:56 +0200 From: rose@rz.uni-potsdam.de To: gentoo-science@lists.gentoo.org Subject: [gentoo-science] octave data-smoothing example failes Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.6) X-Miltered: at n-mail-2 with ID 4E91F725.002 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4E91F725.002 from arnim.rz.uni-potsdam.de/arnim.rz.uni-potsdam.de/141.89.68.11/arnim.rz.uni-potsdam.de/ X-j-chkmail-Score: MSGID : 4E91F725.002 on cl-mail.uni-potsdam.de : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-Archives-Salt: X-Archives-Hash: 1bc211abc57f0c26d67b06a7cf561263 The data smoothing example from =20 http://octave.sourceforge.net/data-smoothing/function/regdatasmooth.html fai= ls =20 with: rose@thinkpad:/home/rose(2)$ octave GNU Octave, version 3.4.0 Copyright (C) 2011 John W. Eaton and others. This is free software; see the source code for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For details, type `warranty'. Octave was configured for "i686-pc-linux-gnu". Additional information about Octave is available at http://www.octave.org. Please contribute if you find this software useful. For more information, visit http://www.octave.org/help-wanted.html Read http://www.octave.org/bugs.html to learn how to submit bug reports. For information about changes from previous versions, type `news'. warning: function =20 /usr/libexec/octave/packages/miscellaneous-1.0.9/i686-pc-linux-gnu-api-v47+/= hex2num.oct shadows a core library =20 function warning: function /usr/share/octave/packages/optim-1.0.12/fminbnd.m =20 shadows a core library function warning: LOADPATH is now a function instead of a built-in variable. =20 By assigning to LOADPATH, you have created a variable that hides the =20 function LOADPATH. To remove the variable and restore the function, =20 type "clear LOADPATH" octave:1> npts =3D 100; octave:2> x =3D linspace(0,2*pi,npts)'; octave:3> x =3D x + 2*pi/npts*(rand(npts,1)-0.5); octave:4> y =3D sin(x); octave:5> y =3D y + 1e-1*randn(npts,1); octave:6> yp =3D ddmat(x,1)*y; octave:7> y2p =3D ddmat(x,2)*y; octave:8> [yh, lambda] =3D regdatasmooth (x, y, =20 "d",4,"stdev",1e-1,"midpointrule"); error: Invalid call to fminunc. Correct usage is: -- Function File: fminunc (FCN, X0) -- Function File: fminunc (FCN, X0, OPTIONS) -- Function File: [X, FVEC, INFO, OUTPUT, GRAD, HESS] =3D fminunc (FCN, ...) error: called from: error: /usr/share/octave/3.4.0/m/help/print_usage.m at line 87, column 5 error: /usr/share/octave/3.4.0/m/optimization/fminunc.m at line 95, column= 5 error: =20 /usr/share/octave/packages/data-smoothing-1.2.0/regdatasmooth.m at =20 line 117, column 17