How to do partial differentiation of a function?

1 次查看(过去 30 天)
The function is given as:
E1=ln((1+x1)/(1-x1));
How to do patial differentiation of E1 with respect to x1?

采纳的回答

Star Strider
Star Strider 2021-6-21
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 = 
.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by