how would i plot upper half of an ellipse in matlab using standar form?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
(x^2/a^2) + (y^2/b^2) = 1
0 commentaires
Réponses (1)
Mischa Kim
le 28 Fév 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 commentaires
Voir également
Catégories
En savoir plus sur Surface and Mesh Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!