MATLABʵÑ鱨¸æ(»æÍ¼)

4¡¢Ê¹ÓúÏÊʵĵ¥Öá¶ÔÊý×ø±êº¯Êý»æÖƺ¯Êý??= ????µÄͼÏñ £¨ÆäÖÐ1¡Ü??¡Ü10£© MATLAB Code:

x = 1:0.01:10; y = exp(x.^2); semilogy(x,y,'b-.'); xlabel('x'),ylabel('y');

2

5¡¢»æÖÆÔ²×¶ÂÝÏßµÄͼÏñ²¢Ìí¼Ó¸÷ÖÖ±ê×¢£¬Ô²×¶ÂÝÏߵIJÎÊý·½³ÌΪ£º

??

??=??????????

6

?? (0¡Ü??¡Ü20??)

??=????????6??

??=2??

MATLAB Code:

t = 0:pi/50:20*pi; x = t.*cos(pi/6*t); y = t.*sin(pi/6*t); z = 2*t;

plot3(x,y,z,'b'),grid on; title('Ô²×¶ÂÝÏß');

xlabel('x = tcost'); ylabel('y = tsint'); zlabel('z = 2t');

6¡¢ÔÚͬһ¸öͼÐδ°¿Ú»­°ë¾¶Îª1µÄÇòÃæ¡¢ÖùÃæ ??2+??2=1 ÒÔ¼°¼«×ø±êͼÐÎ ¦Ñ= ??????4??,??¡Ê[0,2??].

21

MATLAB Code:

subplot(1,2,1), sphere(100); hold on; cylinder; hold on;

t = 0:pi/50:2*pi; r = 0.5*sin(4*t); subplot(1,2,2); polar(t,r);

title('r = 0.5*sin4t');

7¡¢ÓÃmeshÓësurfÃüÁî»æÖÆÈýάÇúÃæ z= ??2+3??2 µÄͼÏñ£¬²¢Ê¹Óò»Í¬µÄ×ÅɫЧ¹û¼°¹âÕÕЧ¹û. MATLAB Code:

t = -3:0.1:3; [x,y] = meshgrid(t); z = x.^2+3*y.^2; subplot(1,2,1),

mesh(x,y,z),title('Íø¸ñz = x^2+3y^2'),shading flat;

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ìæ»»Îª@)