MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB基础] 求大神们帮助~!帮我看看下面的代码是什么意思。。 (https://www.labfans.com/bbs/showthread.php?t=21033)

TMATLAB新手 2017-05-11 21:46

求大神们帮助~!帮我看看下面的代码是什么意思。。
 
f=fittype('a*exp(b*x)+c*exp(d*x)');
[cfun,gof]=fit(t,y(:,3),f);
yy=0.4979*exp(0.1006*t)+0.667*exp(-9.60*t)
hold on
plot(t',yy,'b','linewidth',2)
hold on
%plot(t',y1,'r',linewidth',2)
legend('measured','fitting')

我只知道是一个拟合函数的code。。。可是每一行具体是怎么回事,有点儿看不懂。。。


所有时间均为北京时间。现在的时间是 13:34

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.