MATLAB: Fitting experimental data to find a function

curve fitting

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

Best Answer

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.