tangent at specific point
6 次查看(过去 30 天)
显示 更早的评论
i plotted parametric curve r(t)=<t , t^2 , 2>, now i have to plot tangent at 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(1)
plot3(st,ct,repmat(2,1,numel(t)))
hold on
回答(1 个)
Kuatra Patil
2019-4-21
3 个评论
Walter Roberson
2019-4-21
Step 1: calculate the slope of the tangent line at that point.
Step 2: create a 3D plot using that slope.
Have you completed Step 1 yet? If so then what result did you get?
Are you having difficulty with the plotting stage? If so then what have you found out about how to plot 3D lines in MATLAB ?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!