可调用surf(x,y,z)但是事先要讲x,y,z矩阵化,本例中还需要x = reshape(x,11,11);y = reshape(y,11,11);z = reshape(z,11,11);surf(x,y,z);再用view调整视角,如view([5,5,2]);