How to do partial derivates?
Mostrar comentarios más antiguos
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?
Respuestas (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".
Categorías
Más información sobre Calculus en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
