MATLAB CODE TO FIND LOCAL EXTREMA OF A FUNCTION
36 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
what is the matlab code to identify local extrema of follwing function f(x,y)=x^2+y^3-3*x*y , -5<=y<=5
0 Kommentare
Antworten (3)
Torsten
am 13 Aug. 2019
syms x y
f = x^2 + y^3 - 3*x*y;
fx = diff(f,x);
fy = diff(f,y);
eqns = [ fx == 0, fy == 0];
vars = [x y];
[solx, soly] = solve(eqns, vars)
0 Kommentare
HARSHAVARDINI KRISHNAN
am 21 Jan. 2021
syms x y
f = x^2 + y^3 - 3*x*y;
fx = diff(f,x);
fy = diff(f,y);
eqns = [ fx == 0, fy == 0];
vars = [x y];
[solx, soly] = solve(eqns, vars)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Descriptive Statistics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!