matlab 画图 三维曲面!x=0.000000000.005000000.010000000.015000000.020000000.025000000.030000000.035000000.040000000.045000000.050000000.055000000.060000000.065000000.070000000.075000000.080000000.085000000.090000000.095000000.100000000.105000000
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/09 04:40:34
matlab 画图 三维曲面!x=0.000000000.005000000.010000000.015000000.020000000.025000000.030000000.035000000.040000000.045000000.050000000.055000000.060000000.065000000.070000000.075000000.080000000.085000000.090000000.095000000.100000000.105000000
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.020000000.025000000.030000000.035000000.040000000.045000000.050000000.055000000.060000000.065000000.070000000.075000000.080000000.085000000.090000000.095000000.100000000.105000000
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
];
%你这个是线,不是面.
%y的值只有一个.x是线性增加的
plot3(x,y*ones(size(x)),z)