This function plots a cylinder.
function Plot_Cylinder(vc1,vc2,d)
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.
Output:
Plots the cylinder.
Cite As
Ayad Al-Rumaithi (2026). Plot Cylinder (https://au.mathworks.com/matlabcentral/fileexchange/136259-plot-cylinder), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2017b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
