octave 不能使用surf
-
- 帖子: 95
- 注册时间: 2006-02-05 18:11
octave 不能使用surf
octave:1> D=[0:0.5:8];
octave:2> [X,Y]=meshgrid(D);
octave:3> surf(X,Y,X.^2+Y)
error: `surf' undefined near line 3 column 1
我对这matlab 上打的,到这就执行不下去了!!!
octave:2> [X,Y]=meshgrid(D);
octave:3> surf(X,Y,X.^2+Y)
error: `surf' undefined near line 3 column 1
我对这matlab 上打的,到这就执行不下去了!!!
-
- 帖子: 17
- 注册时间: 2007-09-10 9:44
- 联系:
-
- 帖子: 95
- 注册时间: 2006-02-05 18:11
-
- 帖子: 95
- 注册时间: 2006-02-05 18:11
文明用语,surf没用成,到是找到一个可以画3D的函数
Function File: mesh (x, y, z)
Plot a mesh given matrices x, and y from meshdom and a matrix z corresponding to the x and y coordinates of the mesh.
请问mesh能实现surf 的所有功能吗??或者说octave 里的mesh可以代替matlab里的surf吗?????
Function File: mesh (x, y, z)
Plot a mesh given matrices x, and y from meshdom and a matrix z corresponding to the x and y coordinates of the mesh.
请问mesh能实现surf 的所有功能吗??或者说octave 里的mesh可以代替matlab里的surf吗?????
上次由 zhaozhy 在 2008-06-10 21:01,总共编辑 1 次。
-
- 帖子: 27
- 注册时间: 2005-08-16 12:07
-
- 帖子: 13
- 注册时间: 2008-11-06 17:31