文件名称:circle.m
- 所属分类:
- Windows Mobile
- 资源属性:
- [MacOS] [Matlab] [源码]
- 上传时间:
- 2013-06-23
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- trist******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
function circle(cx, cy, r, linetype)
N = 150
x = zeros(1,N+1)
y = zeros(1,N+1)
for n=1:N+1
x(n) = cx + r*cos(2*pi*n/N)
y(n) = cy + r*sin(2*pi*n/N)
end
hold on plot(x, y, linetype) hold off
-function circle(cx, cy, r, linetype)
N = 150
x = zeros(1,N+1)
y = zeros(1,N+1)
for n=1:N+1
x(n) = cx + r*cos(2*pi*n/N)
y(n) = cy + r*sin(2*pi*n/N)
end
hold on plot(x, y, linetype) hold off
N = 150
x = zeros(1,N+1)
y = zeros(1,N+1)
for n=1:N+1
x(n) = cx + r*cos(2*pi*n/N)
y(n) = cy + r*sin(2*pi*n/N)
end
hold on plot(x, y, linetype) hold off
-function circle(cx, cy, r, linetype)
N = 150
x = zeros(1,N+1)
y = zeros(1,N+1)
for n=1:N+1
x(n) = cx + r*cos(2*pi*n/N)
y(n) = cy + r*sin(2*pi*n/N)
end
hold on plot(x, y, linetype) hold off
(系统自动生成,下载前可以参看下载内容)
下载文件列表
circle.m
__MACOSX
........\._circle.m