Simultaneous lsqcurvefit for data set with shared parameters
显示 更早的评论
Hi,
I'm a bit rusty on Matlab (if I ever was any good!) but I need to solve this problem to get some kinetic parameters for my work.
I'm trying to fit simultaneously 5 curves to get an estimation of 3 kinetic parameters. The equation is: 

[HRP] concentration constant, [H2O2] and [ABTS] INITIAL concentration available.
For each set of ABTS concentration, I have a curve velocity(mM/s) vs H2O2 concentration.

I have been trying to solve this problem using lsqcurvefit but I'm getting errors (e.g. Unable to perform assignment because the indices on the left side are not compatible with the size of the right side) or the optimization stops as the initial values are the local minimum.
I have attached the script, I apologize for the mess - I tried to get bits and pieces from previous questions/topics.
My questions are: is lsqcurvefit the right tool for this simultaneous fit or multiple data set? and if sowhat would be the best way to recall all sets of data?
Many thanks for your answers!!!
采纳的回答
更多回答(1 个)
Hiro Yoshino
2022-10-18
编辑:Hiro Yoshino
2022-10-18
0 个投票
Hope this helps you out: Problem-Based Optimization setup. This does not requires prior-knowlege on type of solver for your specific problem where the solver is choosed after giving your problem and constraints.
Also, a new feature for Optimization, Live Task, is available for you. This guides you set things up.
[Advice] I would say that you should make your question(s) more generalized, otherwise no one would easily grasp what you want to know.
2 个评论
Barri_0089
2022-10-18
Hiro Yoshino
2022-10-19
No worries. Congras on your first question post. Keep it simple and concise please.
I would reccomend to use optimization Live Task. This is very intuitive.
类别
在 帮助中心 和 File Exchange 中查找有关 Choose a Solver 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!