How to do partial differentiation of a function?

1 Ansicht (letzte 30 Tage)
Yokuna
Yokuna am 21 Jun. 2021
Beantwortet: Star Strider am 21 Jun. 2021
The function is given as:
E1=ln((1+x1)/(1-x1));
How to do patial differentiation of E1 with respect to x1?

Akzeptierte Antwort

Star Strider
Star Strider am 21 Jun. 2021
This requires the Symbolic Math Toolbox:
syms x1
E1 = log((1+x1)/(1-x1))
E1 = 
dE1dx1 = diff(E1,x1)
dE1dx1 = 
dE1dx1 = simplify(dE1dx1, 500)
dE1dx1 = 
.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by