求助 我有三组数据 请问 如何用matlab把它画成三维曲面图 数据如下:

x=[256.712546009868,181.649359684609,120.945711734739,242.058563037584,263.9573294817... x=[256.712546009868,181.649359684609,120.945711734739,242.058563037584,263.957329481755,208.602141242474,195.940615916242,146.038931643278,200.596836019928,185.362981214263,69.3979887230404,146.509078271195,216.210601329597,84.0244751937118,210.018742190754,236.688320635148,279.720773128167,75.7734974196698,220.754014365644,126.577732890067,180.179993757904,375.541115636297,237.074053230004,228.631120472936,183.535492973315,222.550485307298,276.226972327541];

y=[19.9110149581017,10.7062794712567,5.22347297841424,13.6124015844296,12.7354275962204,6.35057334641534,9.91514755211156,9.31100045269353,9.89773876562324,10.8916176432731,12.0792234760841,10.9204387358268,13.5689028106331,8.80487783902787,11.4858392336526,10.5477475122606,11.7980859448302,9.16534045364199,11.9962947572254,7.18960849499923,8.00382437761145,13.2443627798957,15.0295087340246,13.1066067591968,19.3152653349156,12.7991457066036,8.90053195429903];

z=[68.1000000000000,74,74.6000000000000,71.2000000000000,72.1000000000000,66.3000000000000,65.3000000000000,66,78.2000000000000,68.8000000000000,61.6000000000000,68.3000000000000,68.8000000000000,72.6000000000000,65.7000000000000,69.9000000000000,74.5000000000000,65.4000000000000,72.6000000000000,75.8000000000000,72.2000000000000,71.6000000000000,77.1000000000000,71.5000000000000,68.2000000000000,72,71.5000000000000;];
展开
 我来答
tianxiawulang
2012-09-09 · TA获得超过2.7万个赞
知道大有可为答主
回答量:4732
采纳率:89%
帮助的人:2671万
展开全部
你的z是一维的,只能画出三维曲线图来
plot3(x,y,z)
画曲面要求z必须是二维的数据
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式