Fitting experimental data to find a function

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

 Akzeptierte Antwort

Gareth Lee
Gareth Lee am 18 Okt. 2016

0 Stimmen

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 Kommentare

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 am 18 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

Kategorien

Mehr zu Get Started with Curve Fitting Toolbox finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by