It's not really 'linear' fitting if your data has a logarithmic trend. Either scale your Y-data by log, then do your exclusions and linear fitting, or do a logarithmic fit (which appears to be linear on a log scale)
cftool and log-scale
15 次查看(过去 30 天)
显示 更早的评论
Hey i want to use curve fitting with log-scale y-axes, but it seems i cant change the y-axes from linear to log in cftool. i must have the figure in log-y-axes before fitting because i need to exclude some part of it.
I try the metod with genrate code, and replace plot with semilogx, it only works after the fitting....
basiclly i want to: log-Y-axes -> exclude some parts -> and do linear fitting with the rest. any idea???
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!