How to fit ODE curve using loop?
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Bjorn Gustavsson
on 17 Apr 2023
Edited: Bjorn Gustavsson
on 17 Apr 2023
Have a look at the answers to this question:
HTH
0 Comments
See Also
Categories
Find more on Least Squares in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!