Can I pass 2 equations into nlinfit function?
显示 更早的评论
Hello, I am using the nlinfit function to estimate parameters (constants) for an equation with my data. In fact I have 2 different equations that depend on the same constants. Is there a way for me to input 2 different functions and from the nlinfit function retrieve values for the constants that provide the best fit over the two equations? Hopefully my question makes sense.
For example:
equation 1: y1= A*B*x / (1 + B*x + C)
equation 2: y2=A*B*x / (1 + B*x + C)^2
My data is for y1 and y2 as functions of x
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!