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!

Answers (1)

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

Asked:

on 8 Jan 2018

Answered:

on 8 Jan 2018

Community Treasure Hunt

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

Start Hunting!