Fit a curve of equation of form y = ax^b to data
Show older comments
Hi,
How do I fit a curve of equation of form y = ax^b to my data. I have x and y values. I have to find a and b (it can be a fraction) and plot the curve.
1 Comment
Sussana Okeleye
on 2 Dec 2015
Hi , did you ever figure out how to do this?
Accepted Answer
More Answers (2)
Sean de Wolski
on 19 Jun 2012
0 votes
Any of these are designed for this.
- lsqcurvefit Optimization Toolbox
- nlinfit Statistics Toolbox
- NonlinearModel Statistics Toolbox >= R2012a.
hitesh Mehta
on 17 Feb 2018
0 votes
Hi,
How do I fit a curve of equation of form y = ax^b+c to my data. I have x and y and c values.
I have to find a and b(it can be a fraction) and plot the curve.
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!