필터 지우기
필터 지우기

Differentiating algebraic equation fractions

조회 수: 2 (최근 30일)
Sanjay Mohan
Sanjay Mohan 2019년 11월 28일
답변: Vladimir Sovkov 2019년 11월 28일
Hi guys, have a test coming up and i will be able to use matlab.
How do i differentiate algebraic equations such as fractions, in real life we will use the quotient rule, but how do i do it using matlab?
Ex: d/dx ((-x^2-x)/(x+2)*(x+3))
What will i enter into matlab for it to be differentiated?

채택된 답변

Vladimir Sovkov
Vladimir Sovkov 2019년 11월 28일
syms x;
simplify(diff(@(x)((-x^2-x)/(x+2)*(x+3)),x))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by