Voxels of Cylinder

Voxels of a cylinder
21 Downloads
Updated 24 Sep 2024

View License

This tool finds the voxels of a cylinder. Example file is provided.
function voxels=Cylinder2voxels(vc1,vc2,d,vs)
Input:
vc1 is (3*1) coordinate vector for the center of the first circular base of the cylinder.
vc2 is (3*1) coordinate vector for the center of the second circular base of the cylinder.
d is the diameter of the cylinder.
vs is voxels size.
output:
voxels is (N*3) coordinate matrix of the centers of N voxels.

Cite As

Ayad Al-Rumaithi (2024). Voxels of Cylinder (https://www.mathworks.com/matlabcentral/fileexchange/126650-voxels-of-cylinder), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.1

Added website.

1.0.0