How to do partial derivates?

14 次查看(过去 30 天)
Kalle
Kalle 2022-11-7
编辑: Torsten 2022-11-7
So i have this function x*sin(x*y)
and I'd need to do a partial derivate like this with it: d^2/dxdy
How do I write it?

回答(1 个)

Torsten
Torsten 2022-11-7
编辑:Torsten 2022-11-7
syms x y
f = x*sin(x*y);
dxy = diff(diff(f,x),y)
dxy = 
dyx = diff(diff(f,y),x)
dyx = 
By the way: it's called "partial derivatives", not "partial derivates".

类别

Help CenterFile Exchange 中查找有关 Calculus 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by