differentiation for a function

4 ビュー (過去 30 日間)
PJS KUMAR
PJS KUMAR 2018 年 9 月 18 日
回答済み: Torsten 2018 年 9 月 18 日
y'=x-y^2
give me the function to get derivative as
y'' =1-2*y*y'
  1 件のコメント
Walter Roberson
Walter Roberson 2018 年 9 月 18 日
That is not the derivative: the 1 should not be there.
Use the symbolic toolbox.

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

回答 (2 件)

Birdman
Birdman 2018 年 9 月 18 日
syms y(x)
diff(diff(y,x)==x-y^2)

Torsten
Torsten 2018 年 9 月 18 日
syms x y(x)
diff(x-y^2,x)
Best wishes
Torsten.

カテゴリ

Help Center および File ExchangeConversion Between Symbolic and Numeric についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by