Code given below creates a 3D scatter plot from the relevant equations:
V(i,1)=l_c*cosd(q1)+q3*cosd(q1);
V(i,2)=l_c*sind(q1)+q3*sind(q1);
s=scatter3(V(:,1),V(:,2),V(:,3),...
linspace(1,10,length(V(:,1))),'filled');
It is a code for show a robot manipulator workspace. scatter3 plot is given below (these are the same plot from different angles):
Also, I have uploaded a solid model which I draw with fusion 360 CAD software. Is it possible to create a solid shape from the scatter plot just like the CAD model given below?