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
Star Strider 2018 年 1 月 8 日

0 投票

I would just use plot3 with a slight variation on your posted code:
plot3(t, -4*ones(size(t)), t.^2+17)
grid on

カテゴリ

質問済み:

2018 年 1 月 8 日

回答済み:

2018 年 1 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by