The present report describes a weighted nonlinear least-squares minimization routine for fitting a wide variety of functions nonlinear in the parameters. The minimization routine is implemented in MacMATLAB, the Macintosh microcomputer version of MATLAB, an interactive program for scientific numeric calculations. Our algorithm makes use of a subroutine that estimates the required derivatives numerically, avoiding the need to differentiate the function under study analytically. We have also implemented two specific subroutines to integrate ordinary differential equations numerically. Therefore, in principle, any kind of nonlinear function can be fitted to a given set of data. The program only requires that the user writes the appropriate equation in a specific subroutine, thus relieving one from knowing and using any 'low-level' code. Other features of the program are: (a) the possibility of using weights to correct for nonuniformity of variance by flexible specification of the error structure; (b) the possibility of checking the parameter values and the residual variance at each iteration; and (c) by the use of the graphic capabilities of MacMATLAB, the possibility of following the improvement of the fitting graphically. One example of nonlinear functions and one example of linear differential equation together with their respective 'function file' and illustrative data are presented to demonstrate the flexibility of our approach and the power of the method used.

A VERSATILE IMPLEMENTATION OF THE GAUSS-NEWTON MINIMIZATION ALGORITHM USING MATLAB FOR MACINTOSH MICROCOMPUTERS / G. ROVATI. - In: COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE. - ISSN 0169-2607. - 32:2(1990), pp. 161-167. [10.1016/0169-2607(90)90097-S]

A VERSATILE IMPLEMENTATION OF THE GAUSS-NEWTON MINIMIZATION ALGORITHM USING MATLAB FOR MACINTOSH MICROCOMPUTERS

G. Rovati
Primo
1990

Abstract

The present report describes a weighted nonlinear least-squares minimization routine for fitting a wide variety of functions nonlinear in the parameters. The minimization routine is implemented in MacMATLAB, the Macintosh microcomputer version of MATLAB, an interactive program for scientific numeric calculations. Our algorithm makes use of a subroutine that estimates the required derivatives numerically, avoiding the need to differentiate the function under study analytically. We have also implemented two specific subroutines to integrate ordinary differential equations numerically. Therefore, in principle, any kind of nonlinear function can be fitted to a given set of data. The program only requires that the user writes the appropriate equation in a specific subroutine, thus relieving one from knowing and using any 'low-level' code. Other features of the program are: (a) the possibility of using weights to correct for nonuniformity of variance by flexible specification of the error structure; (b) the possibility of checking the parameter values and the residual variance at each iteration; and (c) by the use of the graphic capabilities of MacMATLAB, the possibility of following the improvement of the fitting graphically. One example of nonlinear functions and one example of linear differential equation together with their respective 'function file' and illustrative data are presented to demonstrate the flexibility of our approach and the power of the method used.
English
Function minimization; Gauss-Newton algorithm; Microcomputer; Nonlinear least-squares curve fitting
Settore BIO/14 - Farmacologia
Articolo
Esperti anonimi
1990
32
2
161
167
Pubblicato
Periodico con rilevanza internazionale
info:eu-repo/semantics/article
A VERSATILE IMPLEMENTATION OF THE GAUSS-NEWTON MINIMIZATION ALGORITHM USING MATLAB FOR MACINTOSH MICROCOMPUTERS / G. ROVATI. - In: COMPUTER METHODS AND PROGRAMS IN BIOMEDICINE. - ISSN 0169-2607. - 32:2(1990), pp. 161-167. [10.1016/0169-2607(90)90097-S]
none
Prodotti della ricerca::01 - Articolo su periodico
1
262
Article (author)
no
G. Rovati
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/181498
Citazioni
  • ???jsp.display-item.citation.pmc??? 0
  • Scopus 2
  • ???jsp.display-item.citation.isi??? 2
social impact