Download Help (Windows Only) |
Owning Class: geometry
Requires: MathScript RT Module
cylinder
cylinder(a)
cylinder(a, n)
[x, y, z] = cylinder
[x, y, z] = cylinder(a)
[x, y, z] = cylinder(a, n)
Generates the surface of a cylinder of height 1. If you do not request an output, LabVIEW plots a cylinder surface in the current plot window.
Name | Description |
---|---|
a | Specifies a vector that represents the radius of the cylinder versus equally distributed heights of the cylinder. |
n | Specifies the number of samples in each dimension (radius and height) of the cylinder. n is an integer. |
Name | Description |
---|---|
x | Returns the x-values at which LabVIEW generates the cylinder surface. x is a matrix that consists of length(a) rows and (n + 1) columns. |
y | Returns the y-values at which LabVIEW generates the cylinder surface. y is a matrix that consists of length(a) rows and (n + 1) columns. |
z | Returns the z-values at which LabVIEW generates the cylinder surface. z is a matrix that consists of length(a) rows and (n + 1) columns. |
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes (if you request output) |
Supported on RT targets | Yes (if you request output) |
Suitable for bounded execution times on RT | Not characterized |
[X, Y, Z] = cylinder([1, 2, 0.5], 50);
surface(X, Y, Z)