R=[20 20]; % x and y coordinate of the cylinder
N=100; % number of vertical lines on the surface
Z=10;% dont know
[X,Y,Z] = cylinder(R,N);
testsubject = surf(X,Y,Z); 
set(testsubject,'FaceAlpha',0.3)