MATLAB Answers

0

how to generate function of an ellipse?

Asked by Jing Hua on 12 Jul 2012
I know centre (x,y), semi-major and semi-minor axia(a,b) and the orientation of the ellipse (angle). How do I generate the function of the ellipse because there is an orientation involved in it.
Cheers
Jing

  0 Comments

Sign in to comment.

1 Answer

Answer by Ryan
on 12 Jul 2012
 Accepted Answer

There is a function to draw such an ellipse in Matlab if you have the PDE toolbox, pdeellip(xc,yc,a,b,phi)
If you're looking for a more general math, non-Matlab specific answer for the equation of a rotated ellipse check Q21 here, hope that helps.

  0 Comments

Sign in to comment.