How to apply curve fitter for a table ?
Show older comments
Hi All,
I want to apply curve fitting to a table each collum in table is a variable.
Now I need to do it manually by each collum in table then export data to workspace.

Is there any way to apply curve fitting for a whole table ? no need to do it manually 1 by 1
I use Exponential equation f(x) = a*exp(b*x) for fitting
I attached my table as table.mat
This is my code after I finish curver fitting manually and export results to worksapce
load table.mat
a=feval(fittedmodel,x)
b=feval(fittedmodel1,x)
c=feval(fittedmodel2,x)
total = [a b c]
plot(total)
Accepted Answer
More Answers (0)
Categories
Find more on Curve Fitting Toolbox 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!