Given an equation and data points, find the best fit coefficients of the equation
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Ginevra cianci
am 2 Jan. 2022
Kommentiert: Ginevra cianci
am 2 Jan. 2022
I have a set of data points:
x=0:1:5;
y=[1 3 9 27 81 243];
and I need to determine the coefficients of the exponential sum of order one f (x) = which best approximates in the least squares sense the assigned data and the residual corresponding to it.
Shuld I use polyfit? I have no idea
Thank you in advance
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Historical Contests finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!