Improving fitting of curve to data
Afficher commentaires plus anciens
Hi, I need to fit curve to data, the curve has to be of power-law form with non-constant exponent, which is some function of x (x is the independent variable), the curve form is a*x^(n(x)) where a is constant and n can be any function of x. I use 'fittype' and then 'fit' and get general fit, but it's not good enough, I think that better fit can be achieved with this Eq. form and data. How can I improve the fitting?
Best Regards,
2 commentaires
and n can be any function of x.
You need to decide on a parametric form for n(x). If n(x) can be any function, then effectively no information about the curve is available. Just by choosing n(x)=log_x(f(x))/a, I can make the curve into any f(x) that I wish.
Roi
le 21 Fév 2017
Réponses (0)
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!