Convert 2d Plot To 3d Plot In Matlab, It's a part of the problem definition.