stats toolbox...fitting a curve to a plot in log log space
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(2 个)
Richard Willey
2011-11-14
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!