Tangent Line and Normal Line

조회 수: 4 (최근 30일)
ivi_
ivi_ 2024년 2월 3일
편집: Sam Chak 2024년 2월 3일
Can someone help me with this matlab script please.
  댓글 수: 2
Dyuman Joshi
Dyuman Joshi 2024년 2월 3일
> Use diff, instead of defining the first derivative manually. Same for y0 and m, use the variables to obtain the corresponding values. DO NOT hard-code values.
> Use fplot over ezplot
Sam Chak
Sam Chak 2024년 2월 3일
편집: Sam Chak 2024년 2월 3일
Is there a MATLAB function to find the normal line directly from the given coefficients? I believe we can do that using matrix algebra and rotation matrix.
Update:
Tangent line:
Normal line:

댓글을 달려면 로그인하십시오.

답변 (1개)

VBBV
VBBV 2024년 2월 3일
f(x) = x^3 - 3*x + 2
instead of
f(x) = 3^x - 3*x + 2
  댓글 수: 1
VBBV
VBBV 2024년 2월 3일
편집: VBBV 2024년 2월 3일
The function input for f(x) is incorrect

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by