burger 发表于 2011-12-20 20:04:46

matlab7咋不识别peaks函数呢

??? Attempt to execute SCRIPT peaks as a function.

Error in ==> plot32 at 2
z=peaks(x,y);
%源程序如下:
=meshgrid(-3:0.125:3);
z=peaks(x,y);
figure(1)
plot3(x,y,z),grid on
title('多峰函数的三角形曲线')
页: [1]
查看完整版本: matlab7咋不识别peaks函数呢