Differentiating algebraic equation fractions

1 回表示 (過去 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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by