Am Sonntag, den 02.10.2011, 22:18 +0100 schrieb Carnë Draug: > On 2 October 2011 22:05, Juan Pablo Carbajal <carba...@ifi.uzh.ch> wrote: > > The package data-smoothing seems broken > > > > Octave version 3.4.3-rc0 > > > >> x = linspace(0,1,100).'; > >> y = x.^2 + 0.1*(2*rand(100,1)-1); > >> regdatasmooth (x,y) > > 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] = fminunc (FCN, > > ...) > > > > error: called from: > > error: /usr/local/share/octave/3.4.3-rc0/m/help/print_usage.m at > > line 87, column 5 > > error: /usr/local/share/octave/3.4.3-rc0/m/optimization/fminunc.m at > > line 95, column 5 > > error: /home/juanpi/octave/data-smoothing-1.2.0/regdatasmooth.m at > > line 122, column 17 > > Try the development version. Someone made a commit that removed the > use of fminunc so maybe it will work. But a new release might be in > order since the actual one is broken. > > Carnë
A quick test shows that the svn version works with 3.4.2 and 3.4.3-rc0 and plotting the result of the example looks very reasonable. x = linspace(0,1,100)'; y=x.^2+0.1*(2*rand(100,1)-1); z=regdatasmooth (x, y); plot(x, [y z])
<<attachment: unknown-J8YQ2V>>
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev