derivative firstly x then y
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Kardelen Demir
il 8 Mag 2020
Commentato: Ameer Hamza
il 9 Mag 2020
f(x,y)=(x^28)/(y^2+x^2)+(sqrt(exp(x*y)+abs(-4*y)) take derivative firstly x and the y for f section.
0 Commenti
Risposta accettata
Ameer Hamza
il 8 Mag 2020
Modificato: Ameer Hamza
il 8 Mag 2020
Using symbolic toolbox, you can do it like this
syms x y
f = (x^28)/(y^2+x^2)+(sqrt(exp(x*y)+abs(-4*y)));
fx = diff(f, x); % derivative w.r.t. x
fy = diff(f, y); % derivative w.r.t. y
Output from live script
disp(f)
disp(fx)
disp(fy)
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Dynamic System Models in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!