How to do partial derivates?
Ältere Kommentare anzeigen
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?
Antworten (1)
syms x y
f = x*sin(x*y);
dxy = diff(diff(f,x),y)
dyx = diff(diff(f,y),x)
By the way: it's called "partial derivatives", not "partial derivates".
Kategorien
Mehr zu Calculus finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
