matlab做logistics,MATLAB做logistics人口模型,求出值有问题

MATLAB做logistics人口模型,求出值有问题

t=1979:2010;

x=[31.26,32.09,33.39,35.45,40.52,43.52,47.86,51.45,55.6,60.14,64.82,68.65,73.22,80.22,...

87.69,93.97,99.16,103.38,109.46,114.6,119.85,124.92,132.04,139.45,150.93,165.13,181.93,196.83,212.38,228.07,241.45,251.03];

f=@(b,t)b(2).*b(3)./(b(3)+(b(2)-b(3)).*exp(-b(1).*(t-1979)));

[b1,r1]=nlinfit(t(1:32),x(1:32),f,[0.03,400,31.26])

Warning: Rank deficient, rank = 2, tol =  2.345153e-11.

> In nlinfit>LMfit at 481

In nlinfit at 207

Warning: Some columns of the Jacobian are effectively zero at the solution,

indicating that the model is insensitive to some of its parameters.  That may be

because those parameters are not present in the model, or otherwise do not

affect the predicted values.  It may also be due to numerical underflow in the

model function, which can sometimes be avoided by choosing better initial

parameter values, or by rescaling or recentering.  Parameter estimates may be

unreliable.

> In nlinfit at 280

b1 =

1.0e+11 *

0.0000    1.4428    0.0000

求出来的b1 b2 b3 值 严重不符 求问错在哪里?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值