Fitting experimental data to find a function

4 visualizzazioni (ultimi 30 giorni)
I have an experimental data I=f(t) and I want to find the equation of This trend.

Risposta accettata

Gareth Lee
Gareth Lee il 18 Ott 2016
You can try polyfit function or other curve fit function, i.e. nlinfit or lsqcurvefit,to find proper equation. you also use cftool to curve or regress your data.
  2 Commenti
Anoire BEN JDIDIA
Anoire BEN JDIDIA il 18 Ott 2016
I'm currently testing curve fitting toolbox but how can I know which is the best regression. Ps: in my case is a non linear regression
Gareth Lee
Gareth Lee il 18 Ott 2016
This is a complicate problem, it is hard to say which method is good. you only try it, and judge it with some mathematical index. I suggest that plot it firstly, and estimate the equation according to curve. try it, and obtain some good parameters.

Accedi per commentare.

Più risposte (1)

KSSV
KSSV il 18 Ott 2016
doc polyfit

Categorie

Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by