LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 633|回复: 0

有人熟悉 Octave 么?问一个初学者的问题

[复制链接]
发表于 2005-12-23 09:09:48 | 显示全部楼层 |阅读模式
我只想在Octave 上用 mesh() 画出一个椭圆的上半部分,不知道为什么就提示我出错?

[PHP]
x = [-20:20]
[XX, YY] = meshgrid(x, x)
mesh(x, x, sqrt(5 - XX .^ 2 + YY .^ 2))
[/PHP]

错误信息:
error: for now, I can only save real matrices in 3D format
error: evaluating if command near line 59, column 7
error: evaluating if command near line 56, column 5
error: evaluating if command near line 41, column 3
error: called from `mesh' in file `/usr/share/octave/2.1.72/m/plot/mesh.m'
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表