MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   matlab画图 (https://www.labfans.com/bbs/showthread.php?t=2356)

raspberry2004 2008-04-18 00:02

matlab画图
 
我想用matlab画一些圆,已知圆的圆心和半径,不知有没有现成的函数

fgabertb 2008-04-18 17:06

cen=[3 8] %圓心
r=3 %半徑
theta=linspace(0,2*pi);
x=r*cos(theta)+cen(1);
y=r*sin(theta)+cen(2);
plot(x,y)
axis equal
axis([0 20 0 20])
:smile:


所有时间均为北京时间。现在的时间是 10:15

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.