Fitting the curve problem
1 次查看(过去 30 天)
显示 更早的评论
I try to fit an s-shape curve with the function that I define. But I only got a bad fit with the constant. Attached file is the data file and my scripts. Any advice will be appreciated.
2 个评论
回答(1 个)
David Hill
2022-3-2
[fitcurve,gof]=fit(duration_fit,y_duration_fit,'fourier5');%fourier5 does not look too bad
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!