** Generate cylinder. **

** [X,Y,Z] = CYLINDER(R,N) forms the unit cylinder based on the generator **

** curve in the vector R. Vector R contains the radius at equally **

** spaced points along the unit height of the cylinder. The cylinder **

** has N points around the circumference. SURF (X,Y,Z) displays the **

** cylinder. **

** **

** **

** [X,Y,Z] = CYLINDER(R), and [X,Y,Z] = CYLINDER default to N = 20 **

** and R = [1 1]. **

** **

** **

** Omitting output arguments causes the cylinder to be displayed with **

** a SURF command and no outputs to be returned. **

** **

** **

** See also SPHERE . **

** **