Hi! I have a cone which I can plot two times with a minor displacement like this:
p=0:1:40; [X,Y,Z] = cylinder([10 0]); Z=Z*length(p);
axis equal; surf(X,Y,Z) hold on surf(X+3,Y+4,Z)
However, what I would like to do is to add the z-values for the cones wherever they might intersect. Thus creating more of a mountain-like shape. My code is probably completely wrong for what I want to do, but hopefully it at least might show what I´m after.
Is this possible?
// Hannes
Best Answer