simulataneous Curve fitting follow up
Show older comments
as a follow up to this question http://mathworks.com/matlabcentral/answers/13459-simulataneous-curve-fitting
Is there a simple modification that I can make that would allow me to instead simultaneously graph curves with this equation:
y=a log(x+d)
y=b log(x+ 2*d)
y=c log(x+ 3*d)
2 Comments
Fangjun Jiang
on 11 Aug 2011
You previous question said. Please be precise.
The equations that I want to do the fitting with are:
y= a log x + b
y= c log x + 2* b
y= d log x + 3 *b
Syd
on 11 Aug 2011
Answers (2)
bym
on 12 Aug 2011
y(:,1)=a*log(x+d);
y(:,2)=b*log(x+2*d);
y(:,3)=c*log(x+3*d);
plot(x,y)
Friedrich
on 12 Aug 2011
0 votes
Hi,
I think this won't work since you can't seperate the unknowns as needed. I can't think on any easy way to do it. I can't think on a way to do it (without writing the fitting algorithm by your own) in MATLAB at all.
Categories
Find more on Get Started with Curve Fitting Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!