Find minimum and maximum of a two variable function on fixed interval
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi every body I have this function below and I would calculated the minimum and maximum of this, and also ploting the min/max values.
How I can write their code?
[x,y]=meshgrid(0:0.1:pi,0:0.1:2*pi)
a=77.2; b=36.2; c=12.9;
E=100;
U=-E.^2*(a.*sin(x).^2.*cos(y).^2+b.*sin(x).^2.*sin(y).^2+c.*cos(x).^2);
Regards
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu HDL Verifier 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!