octave-maintainers
[Top][All Lists]
Advanced

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

Re: nlinfit in octave


From: John W. Eaton
Subject: Re: nlinfit in octave
Date: Fri, 14 Aug 2015 07:34:00 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 08/14/2015 06:57 AM, Asma Afzal wrote:
Hi Olaf,

Thank you for committing lsqnonlin and lsqcurvefit on my behalf.

Could you please check nlinfit in [1] and related functions in [2-4]
and see if they could be integrated?

Kind Regards,
Asma.

[1] https://github.com/AsmaAfzal/octave_workspace/blob/master/nlinfit.m

Please don't use varargin or varargout for all values unless necessary. For example, in nlinfit, it appears that the first four arguments are always x, y, modelfun, and beta0. If that's correct, then please write

  function ... = nlinfit (x, y, modelfun, beta0, varargin)

instead of using only varargin. That will make the rest of the function a little easier to follow.

Thanks,

jwe




reply via email to

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