2-dimensional gauss function with Matlab (使用Matlab绘制二维高斯函数图象)
2-dimensionalgaussfunctionwithMatlab(使用Matlab绘制二维高斯函数图象)byusingfollowingcodes.%%X1=[0:0.1:10];X2= [0:0.1:10];[X,Y]=meshgrid(X1,X2);Z=exp(-((X-5).*(X-5)+(Y-5).*(Y-5))/18);surf(X,Y,Z);%%theresultisasfol