cylinder2
代码说明:
[的X,Y和Z] = cylinder2(的x,Y,Z轴,俄,氮,氧) 向量X,Y,Z轴定义圆柱面中心线 和矢量r定义圆柱面半径,并已 为的x,y,z的长度相同 N是周围围点的数量。默认值 为N= 100。 矩阵Ø 定义了准线(圈)椭圆圆柱 表面。其内容以0和1之间的值,并适用于 小学和中学的准线轴。值的defeault Ø =的(长(x),2)。 矩阵X,Y,Z轴确定圆柱面,冲浪(的X,Y,Z)的显示器 圆柱面。( [X,Y,Z]=cylinder2(x,y,z,r,N,o) Vectors x, y, z define the central line of cylindrical surface and vector r defines the radius of cylindrical surface, and has the same length as x, y, z. N is the number of points around the circumference. The default value is N = 100. Matrix o defines ovality of the directrix (circle) of cylindrical surface. Its elements take values between 0 and 1 and apply to the primary and secondary axis of directrix. The defeault values are o=ones(length(x),2). Matrices X, Y, Z define the cylindrical surface, surf(X,Y,Z) displays the cylindrical surface. )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!