matlab的cylinder函数,Matlab基本函数-cylinder函数

更新时间:2023-06-12 23:39:40 阅读: 评论:0

matlab的cylinder函数,Matlab基本函数-cylinder函数1、cylinder函数:绘制三维圆柱图
2、⽤法说明:
(1)[x,y,z]=cylinder 函数返回⼀半径和⾼度都为1的圆柱体x,y,z轴的坐标值,圆柱体沿其周长有20个等距分布的点
(2)[x,y,z]=cylinder(r) 函数⼀个半径为r、⾼度为1的圆柱体的x,y,z轴的坐标值,圆柱体沿其周长有20个等距分布的点
(3)[x,y,z]=cylinder(r,n) 函数⼀个半径为r、⾼度为1的圆柱体的x,y,z轴的坐标值,圆柱体沿其周长有n个等距分布的点
(4)cylinder(...) 函数只绘制圆柱,没有任何的输出参量。其他参量及结果同上
3、实例
3.1、[x,y,z]=cylinder 函数
>> [x,y,x] = cylinder
春节绘画作品x =
Columns 1 through 17
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Columns 18 through 21
0 0 0 0
1 1 1 1
y =
Columns 1 through 10瑞士日内瓦大学
0 0.3090 0.5878 0.8090 0.9511 1.0000 0.9511 0.8090 0.5878 0.3090
0 0.3090 0.5878 0.8090 0.9511 1.0000 0.9511 0.8090 0.5878 0.3090
Columns 11 through 20
0.0000 -0.3090 -0.5878 -0.8090 -0.9511 -1.0000 -0.9511 -0.8090 -0.5878 -0.3090
0.0000 -0.3090 -0.5878 -0.8090 -0.9511 -1.0000 -0.9511 -0.8090 -0.5878 -0.3090
Column 21
x =
Columns 1 through 17
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Columns 18 through 21
0 0 0 0结局是什么意思
1 1 1 1
3.2、[x,y,z]=cylinder(r)函数
>> [x,y,z]=cylinder(5)
x =
Columns 1 through 10
5.0000 4.7553 4.0451 2.9389 1.5451 0.0000 -1.5451 -2.9389 -4.0451 -4.7553
5.0000 4.7553 4.0451 2.9389 1.5451 0.0000 -1.5451 -2.9389 -4.0451 -4.7553 Columns 11 through 20
-5.0000 -4.7553 -4.0451 -2.9389 -1.5451 -0.0000 1.5451 2.9389 4.0451 4.7553
-5.0000 -4.7553 -4.0451 -2.9389 -1.5451 -0.0000 1.5451 2.9389 4.0451 4.7553 Column 21
5.0000
5.0000
y =
Columns 1 through 10
0 1.5451 2.9389 4.0451 4.7553 5.0000 4.7553 4.0451 2.9389 1.5451
0 1.5451 2.9389 4.0451 4.7553 5.0000 4.7553 4.0451 2.9389 1.5451
Columns 11 through 20
0.0000 -1.5451 -2.9389 -4.0451 -4.7553 -5.0000 -4.7553 -4.0451 -2.9389 -1.5451 0.0000 -1.5451 -2.9389 -4.0451 -4.7553 -5.0000 -4.7553 -4.0451 -2.9389 -1.5451 Column 21
很丧z =
Columns 1 through 17
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Columns 18 through 21
0 0 0 0
1 1 1 1>> [x,y,z]=cylinder(5)
x =
Columns 1 through 10
5.0000 4.7553 4.0451 2.9389 1.5451 0.0000 -1.5451 -2.9389 -4.0451 -4.7553
5.0000 4.7553 4.0451 2.9389 1.5451 0.0000 -1.5451 -2.9389 -4.0451 -4.7553 Columns 11 through 20
失眠的治疗方法-5.0000 -4.7553 -4.0451 -2.9389 -1.5451 -0.0000 1.5451 2.9389 4.0451 4.7553
-5.0000 -4.7553 -4.0451 -2.9389 -1.5451 -0.0000 1.5451 2.9389 4.0451 4.7553 Column 21
5.0000
5.0000
y =
Columns 1 through 10儿童睡前故事合集
0 1.5451 2.9389 4.0451 4.7553 5.0000 4.7553 4.0451 2.9389 1.5451
0 1.5451 2.9389 4.0451 4.7553 5.0000 4.7553 4.0451 2.9389 1.5451
女性的声音Columns 11 through 20
0.0000 -1.5451 -2.9389 -4.0451 -4.7553 -5.0000 -4.7553 -4.0451 -2.9389 -1.5451 0.0000 -1.5451 -2.9389 -4.0451 -4.7553 -5.0000 -4.7553 -4.0451 -2.9389 -1.5451 Column 21
z =
Columns 1 through 17
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
Columns 18 through 21
0 0 0 0
1 1 1 1
3.3、[x,y,z]=cylinder(r,n) 函数
>> [x,y,z]=cylinder(5,10)
x =
Columns 1 through 10
5.0000 4.0451 1.5451 -1.5451 -4.0451 -5.0000 -4.0451 -1.5451 1.5451 4.0451 5.0000 4.0451 1.5451 -1.5451 -4.0451 -5.0000 -4.0451 -1.5451 1.5451 4.0451 Column 11
5.0000
5.0000
y =
Columns 1 through 10
学情分析怎么写
0 2.9389 4.7553 4.7553 2.9389 0.0000 -2.9389 -4.7553 -4.7553 -2.9389
0 2.9389 4.7553 4.7553 2.9389 0.0000 -2.9389 -4.7553 -4.7553 -2.9389 Column 11
z =
0 0 0 0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1 1 1 1
3.4、cylinder(...) 函数
>> cylinder(5)
绘制的圆柱图

本文发布于:2023-06-12 23:39:40,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/940754.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:函数   圆柱体   参量   等距   周长   绘制   圆柱
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图