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 CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by