我有三组数据 请问 如何用matlab把它画成三维曲面图 数据如下:x=[256.712546009868,181.649359684609,120.945711734739,242.058563037584,263.957329481755,208.602141242474,195.940615916242,146.038931643278,200.596836019928,185.362981
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 15:39:48
我有三组数据 请问 如何用matlab把它画成三维曲面图 数据如下:x=[256.712546009868,181.649359684609,120.945711734739,242.058563037584,263.957329481755,208.602141242474,195.940615916242,146.038931643278,200.596836019928,185.362981
我有三组数据 请问 如何用matlab把它画成三维曲面图 数据如下:
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;];
我有三组数据 请问 如何用matlab把它画成三维曲面图 数据如下:x=[256.712546009868,181.649359684609,120.945711734739,242.058563037584,263.957329481755,208.602141242474,195.940615916242,146.038931643278,200.596836019928,185.362981
你的z是一维的,只能画出三维曲线图来
plot3(x,y,z)
画曲面要求z必须是二维的数据