How to fit ODE curve using loop?

I am using the lsquarefit code to fit my set of ODEs to data in matlab. My solution graph looks like a piecewise defined function as a result I could not get the line of best fit.
I need help in how to tackle this challenge OR better still get a loop code for different intervals of the data points.

Categorías

Más información sobre Get Started with Curve Fitting Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Abr. de 2023

Editada:

el 17 de Abr. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by