The Fourth Dimension Space

枯叶北风寒,忽然年以残,念往昔,语默心酸。二十光阴无一物,韶光贱,寐难安; 不畏形影单,道途阻且慢,哪曲折,如渡飞湍。斩浪劈波酬壮志,同把酒,共言欢! -如梦令

2-dimensional gauss function with Matlab (使用Matlab绘制二维高斯函数图象)

by using following codes.
%%
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);
%%
the result is as following...



2D gauss function.
and the distribution of 4*(x*y)/pow((x+y),2) is
X1 = [0:1:100];
X2 = [0:1:100];
[X,Y] = meshgrid(X1,X2);
Z = 4*X.*Y./(X+Y)./(X+Y);
surf(X,Y,Z);
the relationship between eigenvalues of Harris Matrix

so we can see along the line y=x the value is maximized.

posted on 2012-11-14 21:27 abilitytao 阅读(4080) 评论(2)  编辑 收藏 引用

评论

# re: 2-dimensional gauss function with Matlab (使用Matlab绘制二维高斯函数图象) 2012-11-15 03:20 qiang

博主想说明什么,没搞清楚上下两部分的联系?请教  回复  更多评论   

# re: 2-dimensional gauss function with Matlab (使用Matlab绘制二维高斯函数图象) [未登录] 2012-11-15 13:22 abilitytao

@qiang
没有本质联系 只是我想验证一下那个函数而已。。。  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理