[Top][All Lists]

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

Re: nlinfit in octave

From: Asma Afzal
Subject: Re: nlinfit in octave
Date: Fri, 14 Aug 2015 13:05:15 +0100

> 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.

Thank you for pointing out. I have made the changes in [1].

Kind Regards,

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

reply via email to

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