1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > matlab画圆的命令_matlab 如何画圆

matlab画圆的命令_matlab 如何画圆

时间:2023-04-27 00:58:52

相关推荐

matlab画圆的命令_matlab 如何画圆

展开全部

syms a b;

ezplot( (2-a).^2+(50-b).^2 );

为什么这样画只能出现一个点?636f707962616964757a686964616f31333335313161不能出现一个圆

答:这时圆没有半径, r=0;

syms a b;

ezplot( (2-a).^2+(50-b).^2-1 );

解答:(Matlab Rb)

>> syms a b

>> h=ezplot((2-a)^2+(50-b)^2==1,[1,3,49,51]);axis equal;

>> set(h,'color','r');

>> set(h,'linewidth',2);

参考资料:

>>help sym/ezplot

找Examples:

syms x y t

ezplot(cos(x))

ezplot(cos(x), [0, pi])

ezplot(x^2 - y^2 == 1)

ezplot(x^2 + y^2 == 1,[-1.25,1.25],3); axis equal

ezplot(1/y-log(y)+log(-1+y)+x == 1)

ezplot(x^3 + y^3 - 5*x*y == 1/5,[-3,3])

ezplot(x^3 + 2*x^2 - 3*x + 5 == y^2)

ezplot(sin(t),cos(t))

ezplot(sin(3*t)*cos(t),sin(3*t)*sin(t),[0,pi])

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。