Find the point of the polyfit curve intersecting the x axis
13 次查看(过去 30 天)
显示 更早的评论
Hello,
I used the polyfit function to generate a slope across my 2d data points. However, I want to store the value of x, at which this curve intersects the x axis, thus ('something',0).
Any idea how to get this point? All i see is the y intercept, and the slope of the line., not the x intercept
0 个评论
采纳的回答
KSSV
2016-10-26
use interpolation again... Let (x,y) be the points you have.
When curve intersects 'x' axes. y = 0.
xi = interp1(y,x,0) ;
2 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Scatter Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!