| ²é¿´: 2231 | »Ø¸´: 19 | ||
[½»Á÷]
¡¾ÇóÖú¡¿fevalµÄʹÓÃ
|
» ÇÀ½ð±ÒÀ²£¡»ØÌû¾Í¿ÉÒԵõ½:
ÎÂÈáÉÆÁ¼£¬ÖØÇìÅ®º¢£¬ÕÒÄÐÓÑ¡¡ºÃÏñÊÇÂÒÂ룬ÄÚÈÝÔÚ40Â¥¿´²é¿´
+2/372
¡¾ÕÐÆ¸¡¿ÎÂÖÝÒ½¿Æ´óѧ/¸½ÊôÒ½Ôº/걽ʵÑéÊÒÀîУˆÒԺʿÍÅ¶Ó³ÏÆ¸²©Ê¿ºóºÍ¿ÆÑÐÈËÔ±
+1/192
¡¾ÕÐÆ¸¡¿ÎÂÖÝÒ½¿Æ´óѧ/¸½ÊôÒ½Ôº/걽ʵÑéÊÒÀîУˆÒԺʿÍÅ¶Ó³ÏÆ¸²©Ê¿ºóºÍ¿ÆÑÐÈËÔ±
+1/192
ÄÍÈÈÑõ»¯ÄÍÈȻƱäЧ¹ûºÃµÄ¾ÛÃѶàÔª´¼ÖƱ¸µÄ¾Û°±õ¥¶¼ÓÐÄÄЩDZÔÚÓ¦ÓÃÁìÓò£¿
+2/166
°ÄÃſƼ¼´óѧ´´Ð¹¤³ÌѧԺ³ÏÕв©Ê¿Éú
+2/132
ÖзÉÔºº½¿Õï®µç³ØÍŶӽÓÊÜ˶ʿÉúµ÷¼Á
+1/74
±±¾©-89175-ÊÂÒµµ¥Î»-³ÏÕ÷Å®ÓÑ
+1/64
Áôѧ--²©Ê¿ÕÐÉú
+1/51
¼ÃÄÏ´óѧˮÀûÓë»·¾³Ñ§ÔºÕÔÑÞÏÀ¼ò½é
+1/47
ÉòÑôũҵ´óѧÉúÎïÓëÒ½Ò©ÕÐÊÕµ÷¼ÁÉú£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡
+1/36
Öйú¼ÆÁ¿¿ÆÑ§Ñо¿Ôº³¤¶ÈÁ¿×Ó»ù׼ʵÑéÊÒ2026Äêµ÷¼ÁÕÐÉú
+1/34
¼ÃÄÏ´óѧˮÀûÓë»·¾³Ñ§ÔºÕÔÑÞÏÀ½ÌÊÚ¼ò½é
+1/24
˫һÁ÷ÏæÌ¶´óѧ»¯¹¤Ñ§ÔºÕÐÊÕ»¯¹¤¡¢ÄÜÔ´¶¯Á¦¡¢¹¤³ÌÈÈÎïÀíÏà¹ØÑо¿Éúµ÷¼Á
+1/14
2026Äê²ÄÁÏ/Ò±½ð/»¯¹¤Ë¶Ê¿µ÷¼Á-ÉϺ£´óѧȫ¹úÖØµãʵÑéÊÒ-¼¤¹âÒ±½ðÓë¹è»ù²ÄÁÏÖÆ±¸
+1/10
¡¾²©Ê¿ÕÐÉú¡¿Ìì½òÀí¹¤´óѧ¹ú¼Ò½ÜÇàÍõÌú¿ÎÌâ×éÕÐÊÕ2026Ä격ʿÑо¿Éú
+1/8
ÄþÏÄ´óѧ»¯Ñ§»¯¹¤Ñ§ÔºÎºÒݱòÑо¿Ô±¿ÎÌâ×éÕÐÆ¸ÆôÊÂ
+1/7
ͬ¼Ã´óѧ»·¾³Ñ§Ôº Ð¤Ù»ÌØÆ¸Ñо¿Ô±¿ÎÌâ×é ÕÐÆ¸Ë¶Ê¿/²©Ê¿£¨³¤ÆÚÓÐЧ£©
+1/6
¹þ¶û±õ¹¤Òµ´óѧ(ÉîÛÚ)¹ú¼Ò¼¶ÇàÄêÈ˲Żúе¹¤³Ì¡¢ÈÈÄÜÓëÄÜÔ´µÈרҵ26ÄêÈëѧ²©Ê¿ÕÐÉú
+1/5
ÖйúµØÕð¾ÖµØÖÊÑо¿Ëù+µØÇòÎïÀíרҵ+½ÓÊÕµ÷¼Á
+1/5
Äþ²¨¶«·½Àí¹¤´óѧÓàÅô¿ÎÌâ×é2026ÄêÉϺ£½»´óÁªÅ಩ʿÉú¡¢²©Ê¿ºó¡¢¿ÆÑÐÖúÀíÕÐÆ¸
+1/3
2Â¥2011-01-07 20:04:38
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
3Â¥2011-01-07 21:47:10
4Â¥2011-01-08 10:12:37
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
¡ï ¡ï
robert2020(½ð±Ò+2):ÐÁ¿àÁË£¡ 2011-01-11 11:28:07
robert2020(½ð±Ò+2):ÐÁ¿àÁË£¡ 2011-01-11 11:28:07
|
ÄãÊÇÔõÑùµ÷ÓõÄÄØ£¿¿ÉÄÜÊÇÄãµ÷Óõĸñʽ²»¶Ô°É£¬´íÎóÌáʾÊÇÊ²Ã´ÄØ£¿ fevalÓÐÁ½ÖÖÓ÷¨£º [y1, y2, ...] = feval(fhandle, x1, ..., xn)£» % Óú¯Êý¾ä±ú [y1, y2, ...] = feval(function, x1, ..., xn)£» % Ö±½ÓÓú¯ÊýÃû ¶ÔÄãµÄº¯Êý£¬Óú¯Êý¾ä±úµÄ»°£º Óú¯ÊýÃû£º |
5Â¥2011-01-08 10:28:14
|
>> Poisson('f','g',16,1e-8,10000) Warning: Could not find an exact (case-sensitive) match for 'Poisson'. C:\Documents and Settings\lenovo\My Documents\MATLAB\poisson.m is a case-insensitive match and will be used instead. You can improve the performance of your code by using exact name matches and we therefore recommend that you update your usage accordingly. Alternatively, you can disable this warning using warning('off','MATLAB:dispatcher:InexactCaseMatch'). This warning will become an error in future releases. ??? Error using ==> mtimes Inner matrix dimensions must agree. Error in ==> f at 2 f=-2*pi^2*sin(pi*x)*sin(pi*y); Error in ==> poisson at 13 Fr(2:n,2:n)=h^2*feval(f,(1:n-1)*h,(1:n-1)*h); ´íÎóµÄÌáʾ |
6Â¥2011-01-08 10:51:59
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
7Â¥2011-01-08 10:57:32
8Â¥2011-01-08 11:04:41
|
function U=poisson(f,g,n,tol,max_it) if nargin<5 max_it=10000 end if nargin<4 tol=1e-5 end n1=n+1; h=1/n; toln=(h^2)*tol; Fr=zeros(n,n); Fr(2:n,2:n)=h^2*feval(f,(1:n-1)*h,(1:n-1)*h); U=zeros(n1,n1); U(1,1:n1)=feval(g,0,(0:n)*h); U(n1,1:n1)=feval(g,1,(0:n)*h); U(1:n1,1)=feval(g,(0:n)*h,0); U(1:n1,n1)=feval(g,(0:n)*h,1); rel_err=1; itnum=0; while((rel_err>toln)&(itnum<=max_it)) err=0; umax=0; for j=2:n for i=2:n temp=(U(i+1,j)+U(i-1,j)+U(i,j+1)+U(i,j-1))/4-Fr(i,j); dif=abs(temp-u(i,j)); if(err<=diff) err=dif; end U(i,j)=temp; temp=abs(temp); if(umax<=temp) umax=temp; end end end itnum=itnum+1; rel_err=err/umax; end %X=(0:h,:n*h)'; %Y=X; %surf(X,Y,U') %xlabel('x-axis') %ylabel('y-axis') %zlabel('the numerical solution') %title('Plot of the mumerical solution') X=(0:h:n*h)';Y=X; subplot(1,2,1) surf(X,Y,U') xlabel('x-axis') ylabel('y-axis') zlabel('The numerical solution') s1=springtf('h=6.4f',h) title(s1) hold on Err=sin(pi*X)*sin(pi*Y')-U; subplot(1,2,2) surf(X,Y,Err') |
9Â¥2011-01-08 11:05:13
10Â¥2011-01-08 11:06:14
11Â¥2011-01-08 11:06:47
12Â¥2011-01-08 11:09:33
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
13Â¥2011-01-08 11:34:09
14Â¥2011-01-08 11:48:22
15Â¥2011-01-08 11:53:22
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
16Â¥2011-01-08 12:03:07
17Â¥2011-01-08 13:37:10
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
18Â¥2011-01-08 14:13:18
19Â¥2011-01-08 14:32:43
xiegangmai
°æÖ÷ (Ö°Òµ×÷¼Ò)
- ·ÂÕæEPI: 3
- Ó¦Öú: 157 (¸ßÖÐÉú)
- ¹ó±ö: 5.735
- ½ð±Ò: 40609
- Ìû×Ó: 4046
- ÔÚÏß: 1330.2Сʱ
- ³æºÅ: 653607
¡ï
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
Сľ³æ(½ð±Ò+0.5):¸ø¸öºì°ü£¬Ð»Ð»»ØÌû½»Á÷
|
²»ºÃÒâ˼£¬¸ã´íÁË£¬ÕýÈ·µÄÓ¦¸ÃÊÇ£º Äã´úÈëµÄxÒ²y·Ö±ðΪһ¸öÐÐÏòÁ¿£¬°ÑxתÖÃһϣ¬ÔÙÏà³ËµÃµ½µÄ²ÅÊÇÐèÒªµÄ¾ØÕó¡£ |
20Â¥2011-01-08 15:21:26














»Ø¸´´ËÂ¥