how to fit y=ax^b without curve fitting

3 views (last 30 days)
Moza Salem
Moza Salem on 5 Mar 2021
Answered: Image Analyst on 5 Mar 2021
how to fit a set of data using 𝑦 = 𝑎𝑥^b (logarithmic transformation) ?
  2 Comments
David Goodmanson
David Goodmanson on 5 Mar 2021
Edited: David Goodmanson on 5 Mar 2021
Hi Moza,
you can certainly take the log of both sides and try fitting the straight line
log(y) = c + b*log(x) % c = log(a)
if that's what you mean.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 5 Mar 2021

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!