tangent at specific point

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
Kuatra Patil 2019 年 4 月 21 日

0 投票

please help me.

3 件のコメント

Walter Roberson
Walter Roberson 2019 年 4 月 21 日
I did. I posted a link to a tutorial explaining about the link between tangent lines and derivatives and pointed you to the way to calculate the tangent at the point.
Kuatra Patil
Kuatra Patil 2019 年 4 月 21 日
bro i dont ask you about derivatives and tangent lines tutorial. i ask about how can i implement it into a code. stop posting tutorials of calculus to me.
Walter Roberson
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 ?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeLine Plots についてさらに検索

タグ

質問済み:

2019 年 4 月 21 日

コメント済み:

2019 年 4 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by