Plot ellipse from equation (no foci/axes)
Show older comments
I have an equation for an ellipse: x^2+y^2-4x-8y+10-2*log(2) = 0. How an I plot this in Matlab? Everything that I've found searching only tells how to plot if you have the foci and major/minor axes. I tried putting the equation into Wolfram Alpha, which gave me two expressions for y, but apparently that results in some complex values over the range [-4,4] for x. What else can I try?
Accepted Answer
More Answers (2)
proy
on 18 Aug 2016
0 votes
Nicolas Flamant
on 23 May 2019
I recommend to use
fimplicit
which is now preferred to
ezplot
Categories
Find more on Mathematics in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!