Fitting a straight line to a loglog plot data set and finding an arbitrary intercept value.
显示 更早的评论
Hi Guys....
I'm struggling to find a way to fit a straightline to my dataset which is displayed on logarithmic axes.
I have a very sparce amount of data but they generally follow a pattern:

As you can see, above the data is displayed on loglog axes
loglog(x,y)
Without going into too much unnecessary detail. I wish to fit a straight line to the data in order to find the x values when the fitted lines intercept with the blue lines (Wi*=0.002). An example is shown below:

I have tried using the polyfit command but to no avail. Any help on this problem would be much appreciated.
Many thanks,
Nath
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!