Board logo

标题: MATLAB如何用离散三维坐标画光滑三维曲面? [打印本页]

作者: jiejiedog    时间: 2006-11-22 10:25     标题: MATLAB如何用离散三维坐标画光滑三维曲面?

如题,原数据为
Matrix=[x, y, z]
=
[
1 2 3
3 4 5
2 1 5
1 8 5
];
also, size=[100, 3];

如何完成?
help里面介绍帮不上忙
meshgrid plus surf?
作者: NeuMond    时间: 2006-11-22 10:38

example x=[1  2   3];
            y=[2  3   4];
[X,Y]=meshgrid(x,y);
Z=[ 1   2   3;
       4   5   6;
      7    8    9];
surf(X,Y,Z)

I have sent matlab to you. There are many examples in chapter 6.
作者: jiejiedog    时间: 2006-11-22 11:08

问题已经解决,不用meshgrid。
还是谢谢楼上的




欢迎光临 人在德国 社区 (http://rs238848.rs.hosteurope.de/bbs/) Powered by Discuz! 7.2