Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想问一下如何以这种格式绘制椭圆:
a x^2+b y^2+c x y+d x+e y-1=0
我尝试了ezplotand contour,但它似乎没有用。
ezplot
contour
如果您使用该等式,则必须满足关系 c^2 - 4ab < 0 才能成为椭圆。
编辑:还更清楚地指定它似乎不起作用(您期望什么以及发生了什么)可能很有用。
在 matlab 文件交换中查看此文件: ellipse.m
您需要对参数 a 到 e 使用数值。然后你可以用 绘制椭圆ezplot。