Plotting parametric curve x = t, y = 4t^(2/3), z = -t^2 in Matlab

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 6K views
Revan3
Messages
5
Reaction score
0
Hi, Just ran into a review problem in my calculus book. Does anyone know how to plot vector functions in matlab?

Problem:

Graph the curve with parametric equations

x = t y = 4t^(2/3) z = -t^2

[and find the curvature at the point (1,-4,-1).
 
Physics news on Phys.org
I think it is as simple as t=0:0.001:2;(say), write x=t;y=4*t.^(2/3);z=-t.^2; and then use plot3d(x,y,z)
 
Ah thanks works

t=0:0.001:2;
x = t;
y = 4*t.^(2/3);
z = -t.^2;
plot3(x,y,z)
 
Last edited: