找回密码
 注册
Simdroid-非首页
查看: 47|回复: 0

matlab7咋不识别peaks函数呢

[复制链接]
发表于 2011-12-20 20:04:46 | 显示全部楼层 |阅读模式 来自 湖南长沙
??? Attempt to execute SCRIPT peaks as a function.

Error in ==> plot32 at 2
z=peaks(x,y);
%源程序如下:
[x,y]=meshgrid(-3:0.125:3);
z=peaks(x,y);
figure(1)
plot3(x,y,z),grid on
title('多峰函数的三角形曲线')
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Simapps系列直播

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-10-3 03:28 , Processed in 0.030285 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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