开发者

how to plot ellipse in this format?

I would like to ask how to plot ellipse in开发者_JS百科 such format:

ax^2+by^2+cxy+dx+ey-1=0

I tried with ezplot and contour and it didn't seem to work.


If you use that equation you must satisfy the relation c^2 - 4ab < 0 for it to be an ellipse.

Edit: Also specifying more clearly how it does not seem to work (what you were expecting and what happened) could be useful.


You need to use numeric values for the parameters a through e. Then you can plot the ellipse with ezplot.


see this file on the matlab file exchange: ellipse.m

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜