How do i fit parameters to multiple data set using an equation?
Show older comments
Dear all,
I have a question regarding the fitting of an equation to multiple data set for two parameters. My data is like:
t = [0,60,600,3600,10800];
x= [150,125,110,103,100];
x1=[150,118,108,102,98];
x2=[150,112,85,60,55];
The equation containing the parameter is
((195*(0.2)^0.06597)-a*log(1+b*x))
I need to find the single value of a and b that provide the best fit for t vs (x1, x2, x3)
Its a basic question but i am still a newbie. Many thanks in advance for your reposnses.
Regards,
3 Comments
Cris LaPierre
on 6 Apr 2019
Do you have access to the curve fitting toolbox?
fadzhi
on 8 Apr 2019
Take
t = [0,60,600,3600,10800;0,60,600,3600,10800;0,60,600,3600,10800];
x = [150,125,110,103,100;150,118,108,102,98;150,112,85,60,55];
But I don't understand why there is no t in your equation containing the prarameters. Doesn't seem to make too much sense.
Answers (0)
Categories
Find more on Linear and Nonlinear Regression 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!