Fitting data with ODE equation and multiple inputs
Show older comments
Hello,
I have an equation that needs to be fitted for multiple parameters but am genuinely stuck on how to do it. Please see the equation below:
It is important to note that z is a function of x and I have data for z(x) and dy/dx.
I am interested in fitting parameters for a, b, and n, but the problem does not seem entirely straightforward to me in MATLAB and I am hoping to get some guidance. I've looked at ways to try to fit the ODE using the guide written here and even tried looking at some analagous problems with Monod kinetics, but the way that the solutions have been posed for Monod kinetics is not entirely clear to me since they have data for all of the variables.
Below is some example data that can be used to try and fit.
x = [0 0.0258 0.0515 0.0773 0.1031 0.1289 0.1546]
dy/dx = [3.4301 5.5175 6.3542 5.9365 4.8554 3.6837 2.7136]
z = [943.0802 1136.4406 1308.0878 1439.5741 1533.7588 1602.7919 1648.6146]
Thank you in advance!
2 Comments
Star Strider
on 12 Sep 2020
‘... z is a function of x ...’
Is it possible for us to know what that functional relationship is?
Dylan Kline
on 12 Sep 2020
Accepted Answer
More Answers (0)
Categories
Find more on Numerical Integration and Differential Equations 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!