| ²é¿´: 410 | »Ø¸´: 1 | ||
zpzgraduateÌú¸Ëľ³æ (ÖøÃûдÊÖ)
|
[ÇóÖú]
matlabÇó½âƫ΢·Ö·½³Ì×éÓöµ½µÄÎÊÌâÇóÖú
|
|
Çó½âƫ΢·Ö·½³Ì×éʱÓöµ½µÄ£¬Çë¸ßÊÖÖ¸µã¡£ ÏÂÃæÊÇÎļþºÍ´íÎóÌáʾ function pdex4 m = 0; x = [0 0.005 0.01 0.05 0.1 0.2 0.5 0.7 0.9 0.95 0.99 0.995 1]; t = [0 0.005 0.01 0.05 0.1 0.5 1 1.5 2]; sol = pdepe(m,@pdex4pde,@pdex4ic,@pdex4bc,x,t); u1 = sol(:,:,1); u2 = sol(:,:,2); u3=sol(:,:,2); figure surf(x,t,u1) title('u1(x,t)') xlabel('Distance x') ylabel('Time t') figure surf(x,t,u2) title('u2(x,t)') xlabel('Distance x') ylabel('Time t') figure surf(x,t,u3) title('u3(x,t)') xlabel('Distance x') ylabel('Time t') % -------------------------------------------------------------- function [c,f,s] = pdex4pde(x,t,u,DuDx) c = [1; 1;1]; f = [0; 0;0] .* DuDx; F = 6*u(3); s = [-F*u(1); u(2)*F;-20000*u(1)-2-4*u(2)]; % -------------------------------------------------------------- function u0 = pdex4ic(x); u0 = [0.03;0;0]; % -------------------------------------------------------------- function [pl,ql,pr,qr] = pdex4bc(xl,ul,xr,ur,t) pl = [0; ul(2)-1;0]; ql = [1; 1;1]; pr = [ur(1)-1; 0;0]; qr = [1;1;1]; ´íÎóÐÅÏ¢ Warning: Failure at t=1.497828e-002. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (2.775558e-017) at time t. > In ode15s at 809 In pdepe at 317 In pdefun001 at 6 Warning: Time integration has failed. Solution is available at requested time points up to t=1.000000e-002. > In pdepe at 323 In pdefun001 at 6 ??? Error using ==> surf at 78 Data dimensions must agree. Error in ==> pdefun001 at 12 surf(x,t,u1) |
» ²ÂÄãϲ»¶
²ÄÁÏÓ뻯¹¤£¨0856£©304Çó BÇø µ÷¼Á
ÒѾÓÐ3È˻ظ´
268Çóµ÷¼Á
ÒѾÓÐ8È˻ظ´
265Çóµ÷¼Á
ÒѾÓÐ14È˻ظ´
350 ±¾¿Æ985Çóµ÷¼Á£¬ÇóÀϵÇÊÕÁô
ÒѾÓÐ3È˻ظ´
¡¾¿¼Ñе÷¼Á¡¿»¯Ñ§×¨Òµ 281·Ö£¬Ò»Ö¾Ô¸ËÄ´¨´óѧ£¬³ÏÐÄÇóµ÷¼Á
ÒѾÓÐ9È˻ظ´
³õÊÔ 317
ÒѾÓÐ3È˻ظ´
279·ÖÇóµ÷¼Á Ò»Ö¾Ô¸211
ÒѾÓÐ15È˻ظ´
286Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
279Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
matlabÈçºÎÇó½âÒ»¸ö·ÇÏßÐÔ΢·Ö·½³Ì×é
ÒѾÓÐ8È˻ظ´
ÇóÖú£¬ÓÃmatlab½â΢·Ö·½³Ì×飬ϣÍû¸ßÊÖÄܸøÓèÖ¸µã
ÒѾÓÐ17È˻ظ´
matlab½âƫ΢·Ö·½³ÌÇóÖú
ÒѾÓÐ12È˻ظ´
ÇóÖú£ºÈçºÎÓÃMATLABµÄƫ΢·Ö·½³Ì¹¤¾ßÏ仳ö²»Í¬ÇøÓòÄÚµÄζȷֲ¼Í¼£¿
ÒѾÓÐ5È˻ظ´
matlabÇó½âƫ΢·Ö·½³Ì×é
ÒѾÓÐ3È˻ظ´
matlabÓÐÏÞ²î·Ö·¨Çó½â¸´Ôӵį«Î¢·Ö·½³Ì×é
ÒѾÓÐ19È˻ظ´
matlab΢·Ö·½³Ì×é²ÎÊýÄâºÏ£¬ÒÔÖÜΪµ¥Î»Çó½â£¬»ã×ܺóÒÔÄêΪµ¥Î»½øÐÐÊýÖµ±È½Ï
ÒѾÓÐ4È˻ظ´
MatlabÇó½âƫ΢·Ö·½³Ì×é
ÒѾÓÐ22È˻ظ´
matlabÊýÖµÇó½â±ß½çÌõ¼þ΢·Ö·½³Ì×é
ÒѾÓÐ7È˻ظ´
¸ß½ðÇóÖúmatlab½â΢·Ö·½³Ì×é
ÒѾÓÐ12È˻ظ´
matlab½â΢·Ö·½³Ì×é
ÒѾÓÐ15È˻ظ´
¡¾ÇóÖú¡¿matlab Çó½â΢·Ö·½³ÌÖеÄδ֪²ÎÊý
ÒѾÓÐ20È˻ظ´
¡¾ÇóÖú¡¿Ïò¸÷λ´óÏÀÇóÖúmatlabÇó½â΢·Ö·½³Ì×éÓöµ½µÄÒ»¸öÎÊÌâ
ÒѾÓÐ21È˻ظ´
¡¾ÇóÖú¡¿MATLAB ÓÐÏÞ²î·Ö·¨£¨FDM£©Çó½âƫ΢·Ö·½³Ì
ÒѾÓÐ22È˻ظ´
¡¾ÇóÖú¡¿»ý·Ö΢·Ö·½³ÌmatlabÇó½â
ÒѾÓÐ6È˻ظ´
¡¾ÇóÖú¡¿ÈçºÎÇó½âÏÂÁÐÆ«Î¢·Ö·½³Ì
ÒѾÓÐ13È˻ظ´
¡¾ÇóÖú¡¿matlabÔõôÇó½âƫ΢·Ö·½³Ì×é°¡£¬ÏÈллÁË
ÒѾÓÐ13È˻ظ´
zpzgraduate
Ìú¸Ëľ³æ (ÖøÃûдÊÖ)
- Ó¦Öú: 7 (Ó×¶ùÔ°)
- ½ð±Ò: 14109.8
- É¢½ð: 40
- Ìû×Ó: 1152
- ÔÚÏß: 202.1Сʱ
- ³æºÅ: 116996
- ×¢²á: 2005-11-25
- רҵ: ¾ÛºÏÎï¹²»ìÓ븴ºÏ²ÄÁÏ
2Â¥2013-07-01 05:49:22













»Ø¸´´ËÂ¥