stats toolbox...fitting a curve to a plot in log log space
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I'm trying to fit a curve to a log-log plot, but the dfittool will not let me change the axes to log. I can do log plots, but then can't put them into the dfittool. Do I need to write something for this? How would I do that? Please help!
Thank you!
0 commentaires
Réponses (2)
Richard Willey
le 14 Nov 2011
Question and a Comment
First, the question: It's unclear whether you are trying to do a curve fit or a distribution fit. You're talking about a curve fitting problem, however, the tool that you are using (dfittool) is intended for fitting distributions.
Next the comment: Statistics Toolbox has a nice demo titled "Pitfalls in Fitting Nonlinear Models by Transforming to Linearity"
The demo includes a lot of good example code dealing with displaying data on a log scale
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with Curve Fitting Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!