²é¿´: 1813  |  »Ø¸´: 19

syy2468

½ð³æ (ÕýʽдÊÖ)

ÖÒʵ³æÓÑ

[ÇóÖú] ¸ßÊÖ°ïæÄâºÏÒ»×éÇúÏߣ¬½â¾öÁí¼Ó·Ö£¡


Õâ×éÇúÏß·ûºÏʲôº¯ÊýÄØ£¬¹ýÒ»¶¨µã£¨t0,-A£©£¬Ö®Ç°ÎÒÓÃÕâ¸öº¯Êý£ºy=-a*(ln(t)-ln(tmax))/(ln(tmin)-ln(tmax)); ÄâºÏ³öÀ´ÇúÏß»¡¶È²»¹»£¬ÓеãÖ±¡£tÊÇÿÌõÇúÏßϽµµÄʱ¼ä¶Î£¬ÕâÀïtmin¾ÍÊÇÆðµãt0£¬tmax¾ÍÊÇÿÌõÇúÏßµ½´ï0µÄʱ¼äµã¡£

Çë¸ßÊÖ°ïæ½â¾ö£¬»áÌáʾ˼·£¬¸Ð¼¤²»¾¡°¡£¡Áí¼Ó·Ö£¡
»Ø¸´´ËÂ¥

» ²ÂÄãϲ»¶

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

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

dbb627

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

Äã×îºÃ°ÑÊý¾Ý¸ø³öÀ´£¬·ûºÏÕâÖÖÐÎ×´µÄ·½³ÌʽÓкܶ࣬²»ÄÃÊý¾ÝÊÔÒ»ÏÂÔõô֪µÀÄĸöºÏÊÊ
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
2Â¥2011-10-28 11:39:02
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

syy2468

½ð³æ (ÕýʽдÊÖ)

ÖÒʵ³æÓÑ

ÒýÓûØÌû:
2Â¥: Originally posted by dbb627 at 2011-10-28 11:39:02:
Äã×îºÃ°ÑÊý¾Ý¸ø³öÀ´£¬·ûºÏÕâÖÖÐÎ×´µÄ·½³ÌʽÓкܶ࣬²»ÄÃÊý¾ÝÊÔÒ»ÏÂÔõô֪µÀÄĸöºÏÊÊ

Êý¾ÝÒÑÉÏ´«
·ÉÔ¾2017
3Â¥2011-10-28 14:05:08
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

dbb627

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

¡ï ¡ï ¡ï
cenwanglai(½ð±Ò+3): ÐÒ¿àÁË¡£Õâ¸öæ°ïÆðÀ´ºÜ¿ìÂ𣿠2011-10-31 11:08:33
ʹÓÃf(x) = a*exp(b*x) + c*exp(d*x)Õâ¸öÄ£ÐÍ»ù±¾¿ÉÒÔ´ïµ½ÒªÇó
³õʼֵµÄ²»Í¬£¬¿ÉÄÜ»áÓвîÒì
CODE:
function [cf,good]=datafit(data)
A=data(47:135,:);
yy=A(:,2:51);
y=[];
n=5;
cf=cell(1,n);
good=cell(1,n);
for i=1:n
     y=yy(:,i);
     y=y(y~=0);
     t=[1:length(y)]';
        
k0 =[-10+20*rand -1+2*rand -10+20*rand(1) -1+2*rand];
f=@(p,x)(p(1)*exp(p(2)*x(:,1)) + p(3)*exp(p(4)*x(:,1))-x(:,2)).^2;
[st,re]=lsqnonlin(f,k0,[],[],[],[t y])
  [cf{1,i},good{1,i}]=expfit(t,y,st)
end
     

function [cf_,good]=expfit(t,y,st)
%exp2: f(x) = a*exp(b*x) + c*exp(d*x)
ft_ = fittype('exp2');
[cf_,good]= fit(t,y,ft_ ,'Startpoint',st);
h_ = plot(cf_,'fit',0.95);
legend off;  % turn off legend from plot method call
set(h_(1),'Color',[1 0 0],...
     'LineStyle','-', 'LineWidth',2,...
     'Marker','none', 'MarkerSize',6);
hold on,plot(t,y,'*')
ylim([-12,0])
xlim([0 90])



The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
4Â¥2011-10-28 16:12:13
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

dbb627

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

syy2468(½ð±Ò+4): Õâ¸öÌâÄ¿½âÆðÀ´ºÜ·±£¬ÏȽ±ÀøÒ»Ï 2011-10-31 11:13:39
fit 1
General model Exp2:
     f(x) = a*exp(b*x) + c*exp(d*x)
Coefficients (with 95% confidence bounds):
       a =  1.474e-014  (-8.61e-014, 1.156e-013)
       b =      0.3711  (0.2937, 0.4486)
       c =      -12.03  (-12.15, -11.91)
       d =     -0.0116  (-0.01188, -0.01132)

Goodness of fit:
  SSE: 3.872
  R-square: 0.9925
  Adjusted R-square: 0.9923
  RMSE: 0.2134
fit 2
General model Exp2:
     f(x) = a*exp(b*x) + c*exp(d*x)
Coefficients (with 95% confidence bounds):
       a =       1.429  (0.8846, 1.974)
       b =    0.003835  (0.0009759, 0.006695)
       c =       -13.6  (-14.13, -13.07)
       d =    -0.01922  (-0.02002, -0.01843)

Goodness of fit:
  SSE: 0.05904
  R-square: 0.9999
  Adjusted R-square: 0.9999
  RMSE: 0.02636
....
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
5Â¥2011-10-28 16:14:30
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

syy2468

½ð³æ (ÕýʽдÊÖ)

ÖÒʵ³æÓÑ

ÒýÓûØÌû:
5Â¥: Originally posted by dbb627 at 2011-10-28 16:14:30:
fit 1
General model Exp2:
     f(x) = a*exp(b*x) + c*exp(d*x)
Coefficients (with 95% confidence bounds):
       a =  1.474e-014  (-8.61e-014, 1.156e-013)
       b =      0.3711  (0.2937, 0.448 ...

xÖ¸µÄʲô
·ÉÔ¾2017
6Â¥2011-10-31 10:36:40
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

dbb627

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

xÓ¦¸Ã¾ÍÊÇ×Ô±äÁ¿ »òÕß˵ÊÇʱ¼ät
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
7Â¥2011-10-31 10:38:45
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

syy2468

½ð³æ (ÕýʽдÊÖ)

ÖÒʵ³æÓÑ

ÒýÓûØÌû:
7Â¥: Originally posted by dbb627 at 2011-10-31 10:38:45:
xÓ¦¸Ã¾ÍÊÇ×Ô±äÁ¿ »òÕß˵ÊÇʱ¼ät

ÿÌõÇúÏßµÄÇúÂÊÔõÃ´Çø±ðµÄ
·ÉÔ¾2017
8Â¥2011-10-31 10:48:18
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

dbb627

ÈÙÓþ°æÖ÷ (ÖøÃûдÊÖ)

¡¾´ð°¸¡¿Ó¦Öú»ØÌû

ÇúÂÊ£¬Õâ¸öÒªÁíÍâËãµÄ°É

ÇúÂʰ뾶¾ÍÊÇÇúÂʵĵ¹Êý¡£ÇúÂʼÆË㹫ʽÈçÏÂ
º¯ÊýÐÎʽ£ºÇúÂÊk=y''/[(1+(y')^2)^(3/2)]£¬ÆäÖÐy', y"·Ö±ðΪº¯Êýy¶ÔxµÄÒ»½×ºÍ¶þ½×µ¼Êý£»
The more you learn, the more you know, the more you know, and the more you forget. The more you forget, the less you know. So why bother to learn.
9Â¥2011-10-31 10:54:20
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

syy2468

½ð³æ (ÕýʽдÊÖ)

ÖÒʵ³æÓÑ

ÒýÓûØÌû:
9Â¥: Originally posted by dbb627 at 2011-10-31 10:54:20:
ÇúÂÊ£¬Õâ¸öÒªÁíÍâËãµÄ°É

ÇúÂʰ뾶¾ÍÊÇÇúÂʵĵ¹Êý¡£ÇúÂʼÆË㹫ʽÈçÏÂ
º¯ÊýÐÎʽ£ºÇúÂÊk=y''/[(1+(y')^2)^(3/2)]£¬ÆäÖÐy', y"·Ö±ðΪº¯Êýy¶ÔxµÄÒ»½×ºÍ¶þ½×µ¼Êý£»

ÎÒÖ¸µÄÊÇÈçºÎÇø±ðÁ½ÌõÇúÏߣ¬Äã¸ø³öµÄÄâºÏ·½³ÌÖ»ÊÇʱ¼äµÄº¯Êý£¬ÄÇÈçºÎÇø±ðÁ½ÌõÇúÏßÄØ
·ÉÔ¾2017
10Â¥2011-10-31 10:56:18
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ syy2468 µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] 304Çóµ÷¼Á +5 ËØÄê¼ÀÓï 2026-03-15 5/250 2026-03-16 17:00 by ÎҵĴ¬Îҵĺ£
[¿¼ÑÐ] 318Çóµ÷¼Á +3 Yanyali 2026-03-15 3/150 2026-03-16 16:41 by houyaoxu
[¿¼ÑÐ] 0703 ÎïÀí»¯Ñ§µ÷¼Á +3 ÎÒ¿ÉÒÔÉϰ¶µÄ¶Ô 2026-03-13 5/250 2026-03-16 10:50 by ÎÒ¿ÉÒÔÉϰ¶µÄ¶ÔÂ
[¿¼ÑÐ] 327Çóµ÷¼Á +6 ʰ¹âÈÎȾ 2026-03-15 11/550 2026-03-15 22:47 by ʰ¹âÈÎȾ
[¿¼ÑÐ] 22408×Ü·Ö284Çóµ÷¼Á +3 InAspic 2026-03-13 3/150 2026-03-15 11:10 by zhq0425
[¿¼ÑÐ] 268Çóµ÷¼Á +5 Ò»¶¨ÓÐѧÉÏ- 2026-03-14 6/300 2026-03-14 22:20 by ÔËÆøyunqi
[¿¼ÑÐ] ¡¾0703»¯Ñ§µ÷¼Á¡¿-Ò»Ö¾Ô¸»ªÖÐʦ·¶´óѧ-Áù¼¶475 +5 Becho359 2026-03-11 5/250 2026-03-14 11:35 by ŶŶ123
[¿¼ÑÐ] 312Çóµ÷¼Á +6 İå·Ï£ 2026-03-10 6/300 2026-03-14 00:40 by JourneyLucky
[¿¼ÑÐ] 308Çóµ÷¼Á +3 ÊÇLupa°¡ 2026-03-10 3/150 2026-03-14 00:30 by JourneyLucky
[¿¼ÑÐ] 321Çóµ÷¼Á +3 CUcat 2026-03-10 3/150 2026-03-14 00:25 by JourneyLucky
[¿¼ÑÐ] ²ÄÁϹ¤³Ì,326·Ö£¬Çóµ÷¼Á +6 KRSLSR 2026-03-10 6/300 2026-03-13 23:47 by JourneyLucky
[¿¼ÑÐ] ²ÄÁÏר˶288·ÖÇóµ÷¼Á Ò»Ö¾Ô¸211 +4 ÔÚ¼ÒÏëÄã 2026-03-11 4/200 2026-03-13 22:49 by JourneyLucky
[¿¼ÑÐ] Çóµ÷¼Á£¨²ÄÁÏÓ뻯¹¤327£© +4 °®³ÔÏã²ËÀ² 2026-03-11 4/200 2026-03-13 22:11 by JourneyLucky
[¿¼ÑÐ] 281Çóµ÷¼Á +9 Koxui 2026-03-12 11/550 2026-03-13 20:50 by Koxui
[¿¼ÑÐ] 0703»¯Ñ§Çóµ÷¼Á +7 Â̶¹ÇÛ²ËÌÀ 2026-03-12 7/350 2026-03-13 17:25 by njzyff
[¿¼ÑÐ] ÇóbÇøÑ§Ð£µ÷¼Á +3 ÖÜ56 2026-03-11 3/150 2026-03-13 16:20 by JourneyLucky
[¿¼ÑÐ] 274Çóµ÷¼Á +3 S.H1 2026-03-12 3/150 2026-03-13 15:15 by JourneyLucky
[¿¼ÑÐ] 0856»¯Ñ§¹¤³Ì280·ÖÇóµ÷¼Á +4 shenzxsn 2026-03-11 4/200 2026-03-13 11:55 by ymwdoctor
[¿¼ÑÐ] 290Çóµ÷¼Á +3 ADT 2026-03-13 3/150 2026-03-13 10:19 by peike
[¿¼ÑÐ] µ÷¼Á +5 ºÇßíŶ»í 2026-03-10 5/250 2026-03-10 22:00 by 28375m
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û