differentiation for a function

조회 수: 2 (최근 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에서 Conversion 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