这个图用matlab怎么画?

[复制链接]
查看11 | 回复3 | 2012-8-27 10:56:54 | 显示全部楼层 |阅读模式
X,Y,Z]=peaks(30);x=X(1,:);%vector of x axisy=Y(:,1);%vector of y axisi=find(y>.8 & y-.6 & x<.5);%find x-axis indices of holeZ(i,j)=nan*Z(i,j);%set values at hole indices to NaNssurf(X,Y,Z)grid,xlabel(‘x-axis ‘),ylabel( ‘y-axis ‘),z...
回复

使用道具 举报

千问 | 2012-8-27 10:56:54 | 显示全部楼层
是散点图拟合的还是用方程画的?我有散点图拟合曲面的例子,如果是方程拟合的话,没见过这么复杂的。。。。。==。需要的话h!我...
回复

使用道具 举报

千问 | 2012-8-27 10:56:54 | 显示全部楼层
mesh(xx,yy,zz)...
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行