how to generate function of an ellipse?

5 ビュー (過去 30 日間)
Jing Hua
Jing Hua 2012 年 7 月 12 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeBoundary Conditions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by