Fitting the curve problem
Afficher commentaires plus anciens
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 commentaires
Image Analyst
le 3 Mar 2022
For our convenience can you attach a screenshot of the data plotted?
Yumeng Yin
le 3 Mar 2022
Réponses (1)
David Hill
le 2 Mar 2022
[fitcurve,gof]=fit(duration_fit,y_duration_fit,'fourier5');%fourier5 does not look too bad
1 commentaire
Yumeng Yin
le 3 Mar 2022
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
