Fitting a Power-Law with uncertainties in x and y
2 views (last 30 days)
Show older comments
I want to fit a scatter-plot with a power-law (i.e., y=a*x^b), with each point having an uncertainty associated with it in x and y.
For example:
x=[1,2,3,5,6,7,8,9,12,15,30]
y=[2,4,5,6,10,12,12,15,16,30,80]
sigx=[0.2,0.4,0.4,0.5,1,2,1.5,3,2.3,2,3]
sigy=[0.6,1,2,1,2,1,2.5,2,4,8,12]
How do I fit a power-law curve that takes into account the uncertainties in both x and y?
0 Comments
Answers (0)
See Also
Categories
Find more on Interpolation 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!