How to do partial derivates?
Afficher commentaires plus anciens
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?
Réponses (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".
Catégories
En savoir plus sur Calculus dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
