How can i find angle with x-axis of a plot in matlab?
5 次查看(过去 30 天)
显示 更早的评论
my plot curve is y = p1*x^2 + p2*x + p3
Coefficients:
p1 = 0.00053537
p2 = -8.1393e-018
p3 = -0.00044699
i want to find each point's angle with x axis . . .
0 个评论
采纳的回答
Azzi Abdelmalek
2013-5-6
p1 = 0.00053537
p2 = -8.1393e-018
p3 = -0.00044699
x=0:0.1:10
y = p1*x.^2 + p2*x + p3
angles=angle(x+j*y)
另请参阅
类别
在 Help Center 和 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!