Parameters estimation for a System of differential equations, gives error
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everybody, I'm a student really struggling with this college assignment. I'm trying to estimate the parameters needed to fit my experimental data to a model of two differential equations of the form:
I have a set of experimental data for my measured value y, [FeOOH] and [O_3], and obviously time while x is just a variable that came up during the modelling and doesn't have experimental data. However, it's solvable at everypoint after evaluating all the experimental data. I found several similar examples in here, such as:
https://www.mathworks.com/matlabcentral/answers/43439-monod-kinetics-and-curve-fitting#comment_89455
Following the advice of @Star Strider, that answered both problems, curiously. My adjustable parameters are those k's you see and the alphabetical letters like a,b,c,f,g,h, etc. I have 84 experimental values for each variable. I literally copied my equations in the sintax he used for the first link and I get the following error:
I'm attaching my code, please run it and see the error, it says the matrix Index exceeds dimensions for the differential equation of dx/dt. I have a hunch that it might be about the number of parameters I'm using is not the number of parameters I'm generating for my initial guess, I considered 18 but I'm gonna recount. If anyone finds it possible to run please comment!
Respuestas (0)
Ver también
Categorías
Más información sobre Historical Contests en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!