作业帮 > 综合 > 作业

matlab中,mesh(z)的具体意思

来源:学生作业帮 编辑:搜搜考试网作业帮 分类:综合作业 时间:2024/04/28 00:58:34
matlab中,mesh(z)的具体意思
mesh(z)书上解释说:以z矩阵列、行下标为x,y轴自变量,画网线图.具体是什么意思啊?应该怎样解释?帮忙指点指点吧,谢谢了.
h2=[1 1;1 -1];h4=[h2 h2;h2 -h2]
h8=[h4 h4;h4 -h4]
1 1 1 1 1 1 1 1
1 -1 1 -1 1 -1 1 -1
1 1 -1 -1 1 1 -1 -1
1 -1 -1 1 1 -1 -1 1
1 1 1 1 -1 -1 -1 -1
1 -1 1 -1 -1 1 -1 1
1 1 -1 -1 -1 -1 1 1
1 -1 -1 1 -1 1 1 -1
mesh(h8)
请就上面这个例子做一下解释吧,谢谢了.
matlab中,mesh(z)的具体意思
首先,mesh函数是用来画三维的网格表面的.三维空间中的一个点是用(x,y,z)来表示的,mesh就是把这些点之间用网格连接起来.
MESH(Z) use x = 1:n and y = 1:m.In this case,
the height,Z,is a single-valued function,defined over a
geometrically rectangular grid.