how to fit y=ax^b without curve fitting
์กฐํ ์: 3 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
how to fit a set of data using ๐ฆ = ๐๐ฅ^b (logarithmic transformation) ?
๋๊ธ ์: 2
David Goodmanson
2021๋
3์ 5์ผ
ํธ์ง: David Goodmanson
2021๋
3์ 5์ผ
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.
๋ต๋ณ (1๊ฐ)
Image Analyst
2021๋
3์ 5์ผ
You can use fitnlm() - Fit Non-linear model. See attached for a bunch of demos where I use it on a wide variety of equations. Adapt as needed.
๋๊ธ ์: 0
์ฐธ๊ณ ํญ๋ชฉ
์นดํ ๊ณ ๋ฆฌ
Help Center ๋ฐ File Exchange์์ Linear and Nonlinear Regression์ ๋ํด ์์ธํ ์์๋ณด๊ธฐ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!