±±¾©Ê¯ÓÍ»¯¹¤Ñ§Ôº2026ÄêÑо¿ÉúÕÐÉú½ÓÊÕµ÷¼Á¹«¸æ
²é¿´: 3605  |  »Ø¸´: 1

huobaozi

гæ (СÓÐÃûÆø)

[ÇóÖú] dde23Çó½âÑÓ³Ù΢·Ö·½³ÌµÄÎÊÌâ

dde23Çó½âÑÓ³Ù΢·Ö·½³ÌµÄÎÊÌâ
ÏëÇó½âÕâÑùÒ»¸öÑÓ³Ù΢·Ö·½³Ì¡£
¼Ù¶¨º¯Êýf(t)ÔÚСÓÚTAO0µÄʱºòΪ0£¬µÈÓÚtao0µÄʱºòΪ0.1£¨ËæÒâ¼Ù¶¨µÄÒ»¸ö³£Êý£©¡£
ÏÈʵÏÖÁËÒ»¸öddefunº¯ÊýÈçÏ£º
----------------------------------------
function v = ddefun(t,y,Z)
a=1e-4;
b=-1e-10;
ylag1 =Z;
v=a*y+b*ylag1;
---------------------------------------
È»ºó£¬Ö÷º¯ÊýÖÐÏà¹Ø´úÂëÕâÑùд£º
tao0=100;
tspan=tao0:tao0*1000;
fm=@(x) ((x==tao0)*0.1);
sol=dde23('ddefun', tao0,fm,tspan);
¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª
ÔËÐÐûÓÐÎÊÌ⣬µ«ÊÇÒòΪÎÒÒ²²»ÖªµÀÑÓ³Ù΢·Ö·½³ÌµÄ½âÓ¦¸Ãʲô£¬ËùÒÔû°ì·¨ÑéÖ¤¡£ÇóÎÊ´ïÈË£¬ÉÏÊö´úÂëµÄÇó½â¹ý³Ì¶ÔÂð£¿Ð»Ð»¡£
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:

¡£
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

ÔÂÖ»À¶

Ö÷¹ÜÇø³¤ (Ö°Òµ×÷¼Ò)

ÒÔÏÂÊÇMATLABµÄ°ïÖúÎĵµ£¬Äã³ÌÐòµÄ¸ñʽӦ¸ÃûÎÊÌâ¡£
>> help dde23
DDE23  Solve delay differential equations (DDEs) with constant delays.
    SOL = DDE23(DDEFUN,LAGS,HISTORY,TSPAN) integrates a system of DDEs
    y'(t) = f(t,y(t),y(t - tau_1),...,y(t - tau_k)). The constant, positive
    delays tau_1,...,tau_k are input as the vector LAGS. DDEFUN is a function
    handle. DDEFUN(T,Y,Z) must return a column vector corresponding to
    f(t,y(t),y(t - tau_1),...,y(t - tau_k)). In the call to DDEFUN, a scalar T
    is the current t, a column vector Y approximates y(t), and a column Z(:,j)
    approximates y(t - tau_j) for delay tau_j = LAGS(J).  The DDEs are
    integrated from T0=TSPAN(1) to TF=TSPAN(end) where T0 < TF. The solution
    at t <= T0 is specified by HISTORY in one of three ways: HISTORY can be
    a function handle, where for a scalar T, HISTORY(T) returns a column
    vector y(t). If y(t) is constant, HISTORY can be this column vector.
    If this call to DDE23 continues a previous integration to T0, HISTORY
    can be the solution SOL from that call.

    DDE23 produces a solution that is continuous on [T0,TF]. The solution is
    evaluated at points TINT using the output SOL of DDE23 and the function
    DEVAL: YINT = DEVAL(SOL,TINT). The output SOL is a structure with
        SOL.x  -- mesh selected by DDE23
        SOL.y  -- approximation to y(t) at the mesh points of SOL.x
        SOL.yp -- approximation to y'(t) at the mesh points of SOL.x
        SOL.solver -- 'dde23'

    SOL = DDE23(DDEFUN,LAGS,HISTORY,TSPAN,OPTIONS) solves as above with default
    parameters replaced by values in OPTIONS, a structure created with the
    DDESET function. See DDESET for details. Commonly used options are
    scalar relative error tolerance 'RelTol' (1e-3 by default) and vector of
    absolute error tolerances 'AbsTol' (all components 1e-6 by default).

    DDE23 can solve problems with discontinuities in the solution prior to T0
    (the history) or discontinuities in coefficients of the equations at known
    values of t after T0 if the locations of these discontinuities are
    provided in a vector as the value of the 'Jumps' option.

    By default the initial value of the solution is the value returned by
    HISTORY at T0. A different initial value can be supplied as the value of
    the 'InitialY' property.

    With the 'Events' property in OPTIONS set to a function handle EVENTS,
    DDE23 solves as above while also finding where event functions
    g(t,y(t),y(t - tau_1),...,y(t - tau_k)) are zero. For each function
    you specify whether the integration is to terminate at a zero and whether
    the direction of the zero crossing matters. These are the three column
    vectors returned by EVENTS: [VALUE,ISTERMINAL,DIRECTION] = EVENTS(T,Y,Z).
    For the I-th event function: VALUE(I) is the value of the function,
    ISTERMINAL(I) = 1 if the integration is to terminate at a zero of this
    event function and 0 otherwise. DIRECTION(I) = 0 if all zeros are to
    be computed (the default), +1 if only zeros where the event function is
    increasing, and -1 if only zeros where the event function is decreasing.
    The field SOL.xe is a row vector of times at which events occur. Columns
    of SOL.ye are the corresponding solutions, and indices in vector SOL.ie
    specify which event occurred.   
   
    Example   
          sol = dde23(@ddex1de,[1, 0.2],@ddex1hist,[0, 5]);
      solves a DDE on the interval [0, 5] with lags 1 and 0.2 and delay
      differential equations computed by the function ddex1de. The history
      is evaluated for t <= 0 by the function ddex1hist. The solution is
      evaluated at 100 equally spaced points in [0 5]  
          tint = linspace(0,5);
          yint = deval(sol,tint);
      and plotted with
          plot(tint,yint);
      DDEX1 shows how this problem can be coded using subfunctions. For
      another example see DDEX2.
MATLAB¡¢MSСÎÊÌâ¡¢ÆÕͨÎÊÌâÇë·¢ÌûÇóÖú£¡Ê±¼ä¾«Á¦ÓÐÏÞ£¬Ë¡²»½ÓÊÜÎÞ³¥Ë½ÐÅÇóÖú¡£
2Â¥2013-10-12 08:50:03
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ huobaozi µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 288Çóµ÷¼Á Ò»Ö¾Ô¸¹þ¹¤´ó ²ÄÁÏÓ뻯¹¤ +39 ÂåÉñ¸ç¸ç 2026-03-31 41/2050 2026-04-03 21:51 by qlm5820
[¿¼ÑÐ] ²ÄÁÏ334Çóµ÷¼Á +9 Eecho# 2026-04-03 9/450 2026-04-03 21:38 by lbsjt
[¿¼ÑÐ] ÎåÒØ´óѧÍÁľ¹¤³ÌÕе÷¼ÁÉú2026 +3 wyutj 2026-03-31 4/200 2026-04-03 18:21 by zengxj_7201
[¿¼ÑÐ] 368Çóµ÷¼Á +4 ½ñ»ªÏ° 2026-04-03 6/300 2026-04-03 13:46 by ½ñ»ªÏ°
[¿¼ÑÐ] 330Çóµ÷¼Á +3 °×ÉñÎØºôºô 2026-04-02 3/150 2026-04-03 10:15 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 085801 ×Ü·Ö275 ±¾¿ÆÐÂÄÜÔ´ Çóµ÷¼Á +19 bradoner 2026-04-01 23/1150 2026-04-03 10:07 by linyelide
[¿¼ÑÐ] 366Çóµ÷¼ÁÒ»Ö¾Ô¸¶«±±´óѧ +8 ÔËÆøÀ´µÃÈôÓÐËÆÎ 2026-04-02 8/400 2026-04-02 21:39 by dongzh2009
[¿¼ÑÐ] Ò»Ö¾Ô¸´ó¹¤Ñ§Ë¶£¬Çóµ÷¼Á +4 yub0811 2026-04-02 4/200 2026-04-02 21:36 by °ÙÁéͯ888
[¿¼ÑÐ] ÍÁľ304Çóµ÷¼Á +4 ÍÃͻͻͻ£¬ 2026-04-02 5/250 2026-04-02 21:16 by ÍÃͻͻͻ£¬
[¿¼ÑÐ] 301Çóµ÷¼Á +4 ϸ°ûÏà¹Øµ°°× 2026-04-02 8/400 2026-04-02 16:30 by 271179835
[¿¼²©] ²ÄÁϹ¤³Ìרҵ˶ʿÉ격 +3 ÷ëÕýÓî 2026-03-30 3/150 2026-04-02 15:04 by greychen00
[¿¼ÑÐ] 08¹¤¿ÆÇóµ÷¼Á290·Ö +5 1314Åõ»¨ 2026-04-02 8/400 2026-04-02 13:16 by ÇÇßÕßÕßÕ
[¿¼ÑÐ] ²ÄÁÏרҵÇóµ÷¼Á +10 ÔÂÔÂÄñľ 2026-04-01 10/500 2026-04-02 12:57 by wxiongid
[¿¼ÑÐ] ÄÜÔ´¶¯Á¦ µ÷¼Á +3 ²»ÆÆ²»Á¢0 2026-04-02 3/150 2026-04-02 12:46 by ffffjjjj
[¿¼ÑÐ] 310·ÖÇóµ÷¼Á +4 ³É¹¦Éϰ¶wang 2026-04-01 4/200 2026-04-01 20:35 by liu823948201
[¿¼ÑÐ] 085600£¬321·ÖÇóµ÷¼Á +13 ´ó²öС×Ó 2026-03-31 13/650 2026-04-01 12:35 by chemdavid
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©¿Æ¼¼´óѧ085601²ÄÁϹ¤³ÌÓ¢Ò»Êý¶þ³õÊÔ×Ü·Ö335Çóµ÷¼Á +5 Ë«ÂíβƦÀϰå2 2026-03-31 5/250 2026-04-01 09:04 by oooqiao
[¿¼ÑÐ] ±¾¿Æ211°²È«¹¤³Ì£¬³õÊÔ290·Ö£¬Çóµ÷¼Á +3 2719846834 2026-03-28 3/150 2026-03-31 13:52 by ÈÈÇéɳĮ
[¿¼ÑÐ] 2026Ä껪ÄÏʦ·¶´óѧ»¶Ó­»¯Ñ§£¬»¯¹¤£¬ÉúÎÉúÒ½¹¤µÈרҵÓÅÐãѧ×Ó¼ÓÈ룡 +3 llss0711 2026-03-28 6/300 2026-03-29 10:26 by llss0711
[¿¼ÑÐ] Çóµ÷¼Á +7 ÕùÈ¡¾Åµã˯ 2026-03-28 8/400 2026-03-28 21:07 by ÕùÈ¡¾Åµã˯
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û