By mellah On 23/06/2021
In Matlab
[x,y] = meshgrid(-1:.1:1, -1:.1:1);
z=(x.^2+y.^2).*cos(x.^2+y.^2);
surf(x,y,z)