how would i plot upper half of an ellipse in matlab using standar form?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
(x^2/a^2) + (y^2/b^2) = 1
0 Kommentare
Antworten (1)
Mischa Kim
am 28 Feb. 2015
With a bit of math, solve for y
a = 2; b = 3;
x = -a:0.1:a;
y = sqrt(b^2 - b^2*(x.^2/a^2));
plot(x,y)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots 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!