フィルターのクリア

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 Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by