Technical discussion about Matlab and issues related to Digital Signal Processing.
Given an object, e.g. t = 0:pi/10:2*pi; [X,Y,Z] = cylinder(2+cos(t)); surf(X,Y,Z) axis square After moving it around, rotating, etc. I want to hit enter and the next image be a 2D plot of the outline of the object as it appeared on the screen. Basically, take what the object looks like on the screen right now, put a 2D grid of the plane on the screen and (assuming axis square) find the outlining points. Is there a simple code? Thanks, -MIke