How to plot parabola?

1 次查看(过去 30 天)
how can I plot a parabola?

采纳的回答

David Hill
David Hill 2021-3-12
p=polyfit([0 -3 .5],[2 -1 .75],2);
x=-10:.01:10;%whatever you want for x
plot(x,polyval(p,x));

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by