Description: [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 generatix (circle) of cylindrical
surface. Its elements take values between 0 and 1 and apply to the
primary and secondary axis of generatrix. 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.
To Search:
File list (Check if you may need any files):
cylinder2.m
license.txt