vectors must be the same length
显示 更早的评论
I have position vector
r(t)=<t , t^2 , 2>,
I have to plot it using plot3 function and also plot tangent at the point P(-1 , 1, 2) but I cant figure it out. Can you help me please?
t = 0:pi/50:10*pi;
st = t;
ct = t.^2;
figure
plot3(st,ct,2)
3 个评论
Image Analyst
2019-4-21
Can you explain in more detail what
r(t)=<t , t^2 , 2>
means? What is x, what is y, and what is the value (z)?
Kuatra Patil
2019-4-21
Image Analyst
2019-4-21
We're getting there, but not quite. So are you saying that
- i, which is x, goes from some unspecified negative number up to 0
- j, which is y, goes from some negative, unspecified t to some positive, unspecified t
- k, which is z, goes from 2 up to some unspecified max z value.
Can you specify the unspecified range limits?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Line Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!