[Top][All Lists]

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

[Help-gsl] Nonlinear Least-Squares Fitting

From: Lawrence Habahbeh
Subject: [Help-gsl] Nonlinear Least-Squares Fitting
Date: Wed, 17 Apr 2019 07:46:54 +0000


In the online [Docs]( ยป 
Nonlinear Least-Squares Fitting, there is an example of fitting an exponential 
function  to data. The data object is a structure with three arguments
struct data {
size_t n;
double *t;
double *y;

Can you please show me how to read the data from a text file and run the 
optimization as is. . The data is a column vector with daily observations and T 
= 120000 points .

Kind regards,

Sent with [ProtonMail]( Secure Email.

reply via email to

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