plotting graph straight line

12 次查看(过去 30 天)
matt noman
matt noman 2020-3-7
y=x^2+5
x=4
how do I plot this graph as a straight line

回答(1 个)

Star Strider
Star Strider 2020-3-7
x = 4;
y=x^2+5;
figure
yline(y)

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by