help-octave
[Top][All Lists]
Advanced

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

Re: nesting function error in leasqrdemo.m


From: Olga Kruglova
Subject: Re: nesting function error in leasqrdemo.m
Date: Fri, 22 Apr 2011 14:38:43 +0200

It is an example how leasqr.m performs fitting procedure for exponential function, http://lis.epfl.ch/cgi-bin/dwww?type=file&location=/usr/share/doc/octave-forge/scripts/optim/leasqrdemo.m

Olga

On Fri, Apr 22, 2011 at 2:34 PM, Martin Helm <address@hidden> wrote:
Am Freitag, 22. April 2011, 09:43:49 schrieb olga_kruglova:
> Hello everybody,
>
> I have been testing leasqrdemo.m to see how it works to make my own
> routine. But when I try to run octave gives me an error :
>
> error: nested functions not implemented in this context
> error: near line 75 of file `leasqrdemo.m.m'
> parse error near line 75 of file leasqrdemo.m
>
>   syntax error
>
> >>> function y = leasqrfunc(x,p);
>
>             ^
>
> error: source: error sourcing file `leasqrdemo.m'
>
> Could you please help to understand why it happens? Thank you very much in
> advance!
>
> Olga
>
Forgive me my ignorance, but where does leasqrdemo come from, I can not find it
as part of octave and I cannot find it as part of the current optim package?




--
Kind regards, Olga

reply via email to

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