stats toolbox...fitting a curve to a plot in log log space
2 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Richard Willey
on 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 Comments
See Also
Categories
Find more on Fit Postprocessing 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!