How to draw an ellipse
    7 views (last 30 days)
  
       Show older comments
    
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
      
      
 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.
Answers (1)
  Vladimir Sovkov
      
 on 17 Feb 2020
        The code discussed at https://www.mathworks.com/matlabcentral/answers/497966-how-to-find-the-vertical-height-of-an-ellipse-y-axis-length-of-ellipse#answer_407691?s_tid=prof_contriblnk can probably help.
0 Comments
See Also
Categories
				Find more on Computational Geometry in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!