Plotting a Parametric Curve with a Double
显示 更早的评论
I am trying to plot the parametric equation (t, -4, t^2 + 17), but am running into difficulties. I have been trying
fplot3(t, -4, t.^2+17)
But am getting the following error: Undefined function 'fplot3' for input arguments of type 'double'.
Any help is greatly appreciated!
回答(1 个)
Star Strider
2018-1-8
I would just use plot3 with a slight variation on your posted code:
plot3(t, -4*ones(size(t)), t.^2+17)
grid on
类别
在 帮助中心 和 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!