作业帮 > 综合 > 作业

matlab三维绘图x=0.000000000.005000000.010000000.015000000.020000

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/06 12:35:38
matlab三维绘图
x=0.00000000
0.00500000
0.01000000
0.01500000
0.02000000
0.02500000
0.03000000
0.03500000
0.04000000
0.04500000
0.05000000
0.05500000
0.06000000
0.06500000
0.07000000
0.07500000
0.08000000
0.08500000
0.09000000
0.09500000
0.10000000
0.10500000
0.11000000
0.11500000
0.12000000
0.12500000
0.13000000
0.13500000
0.14000000
0.14500000
0.15000000
0.15500000
0.16000000
0.16500000
0.17000000
0.17500000
y=0.2
z=188.2876
181.3816
175.4506
170.2823
165.6610
161.4705
157.7308
154.4002
151.3352
148.4690
145.7917
143.4345
141.1984
139.0949
137.1088
135.1903
133.4018
131.8407
130.2164
128.7662
127.4244
125.9510
124.7253
123.5073
122.3366
121.2097
120.1691
119.1209
118.1080
117.1280
116.1789
115.2590
114.5303
113.6636
112.8215
112.0029
如何绘制曲面?
matlab三维绘图x=0.000000000.005000000.010000000.015000000.020000
x=[0.00000000
0.00500000
0.01000000
0.01500000
0.02000000
0.02500000
0.03000000
0.03500000
0.04000000
0.04500000
0.05000000
0.05500000
0.06000000
0.06500000
0.07000000
0.07500000
0.08000000
0.08500000
0.09000000
0.09500000
0.10000000
0.10500000
0.11000000
0.11500000
0.12000000
0.12500000
0.13000000
0.13500000
0.14000000
0.14500000
0.15000000
0.15500000
0.16000000
0.16500000
0.17000000
0.17500000]
y=0.2*ones(length(x),1)
z=[188.2876
181.3816
175.4506
170.2823
165.6610
161.4705
157.7308
154.4002
151.3352
148.4690
145.7917
143.4345
141.1984
139.0949
137.1088
135.1903
133.4018
131.8407
130.2164
128.7662
127.4244
125.9510
124.7253
123.5073
122.3366
121.2097
120.1691
119.1209
118.1080
117.1280
116.1789
115.2590
114.5303
113.6636
112.8215
112.0029]
plot3(x,y,z)