Can I pass 2 equations into nlinfit function?
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown 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!