> 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-fo
> rge/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?