필터 지우기
필터 지우기

Differentiating a symbolic function

조회 수: 3 (최근 30일)
Md Monirul Islam
Md Monirul Islam 2017년 3월 24일
답변: Roger Stafford 2017년 3월 24일
i want to differentiate f=@(x)x^3-4*x^2+x+6; how can i do this? how i can find f'(x)?

답변 (2개)

KSSV
KSSV 2017년 3월 24일
syms x
f=x^3-4*x^2+x+6;
df = diff(f)

Roger Stafford
Roger Stafford 2017년 3월 24일
Express your function in symbolic form and use ‘diff’.

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by