Clear Filters
Clear Filters

How do i fit parameters to multiple data set using an equation?

2 views (last 30 days)
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
fadzhi
fadzhi on 8 Apr 2019
Many thanks for the comment. I have access to curve fitting tool box but there i can also take one data set not multiple. is it possible to take multiple data sets in curve fitting tool box?
Regards,
Torsten
Torsten on 8 Apr 2019
Edited: Torsten 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.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!