MATLAB - 3D Plotting and Visualization
What is wrong with this MATLAB code for plotting a 3D surface?
[X,Y] = meshgrid(-2:2, -2:2);
Z = X.^2 + Y.^2;
surf(X, Z);
[X,Y] = meshgrid(-2:2, -2:2);
Z = X.^2 + Y.^2;
surf(X, Z);
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions