Documentation of nuderst


Global Index (short | long) | Local contents | Local Index (short | long)


Function Synopsis

nds = nuderst(pars)

Help text

NUDERST        Selects the step size for numerical differentiation

   NDS = nuderst(PARS)

   PARS: The parameters, a row vector.
   NDS: A row vector, whose k:th element is the step size to be used
        for numerical differentiation with respect to the k:th parameter

Cross-Reference Information

This function is called by

Listing of function nuderst

function nds = nuderst(pars)

%   L. Ljung 10-2-90
%   Copyright (c) 1986-98 by The MathWorks, Inc.
%   $Revision: 2.3 $  $Date: 1997/12/02 03:44:13 $

nds = max(1e-7*ones(1,length(pars)),abs(pars)*1e-4);