MATLAB: Creating Intersecting Surface Plots

intersectionsurfaces

Hi,
I would like to plot two 3D surfaces (created with surf) in the same graph , so to visualize the intersection areas. Is this possible?
Thank you!

Best Answer

surf(FirstZ)
hold on
surf(SecondZ)