how to generate function of an ellipse?

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

 채택된 답변

Ryan
Ryan 2012년 7월 12일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

질문:

2012년 7월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by