MATLAB Answers

How to draw an ellipse

3 views (last 30 days)
han han
han han on 17 Feb 2020
Commented: James Tursa on 17 Feb 2020
What I want to show is the following picture, showing the feeling of many ovals stacked together.
However, I can only draw an ellipse according to the ellipse formula!
Don't know what to do next,Like rotating an ellipse.

  1 Comment

James Tursa
James Tursa on 17 Feb 2020
How are you generating the points for the ellipse that you know how to draw? Simply rotating those points properly will get you the result. E.g., with a rotation matrix or you could use complex arithmetic to get the same result.

Sign in to comment.


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!