Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 基础科学 > 数学
数学 A discussion board for Mathematics.
回复
 
主题工具 显示模式
旧 2009-09-14, 22:53   #1
y708321017
初级会员
 
注册日期: 2009-09-14
年龄: 41
帖子: 2
声望力: 0
y708321017 正向着好的方向发展
默认 求方程系数,但有警告。请问如何处理?

x=[0 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90];
y1=[0.3 0.983 0.984 0.983 0.986 0.985 0.984 0.982 0.985 0.986 0.983 0.982 0.984 0.983 0.985 0.985 0.984 0.982 0.988 0.981 0.984 0.983 0.981 0.983 0.986 0.985 098.7 0.984 0.985 0.986 0.982];
y=872.6*y1* 0.00652/(8.31*278);
myfunc=inline('-(beta(1)-beta(3)*exp(beta(2)*x))/beta(2)','beta','x');
beta=nlinfit(x,y,myfunc,[01 -0.1 0.1]);
a=beta(1),b=beta(2),c=beta(3)


Warning: The Jacobian at the solution is ill-conditioned, and some model parameters may not be estimated well (they are not identifiable). Use caution in making predictions.
> In nlinfit at 223

a = 0.0148
b = -1.4162
c = 0.0137
y708321017 当前离线   回复时引用此帖
旧 2009-09-15, 03:52   #2
cupid8
初级会员
 
注册日期: 2009-09-14
年龄: 41
帖子: 2
声望力: 0
cupid8 正向着好的方向发展
默认 回复: 求方程系数,但有警告。请问如何处理?

我也刚接触,不过刚好看到了,你仔细看看matlab的help,中那非线性的那个命令,应该有帮助的
cupid8 当前离线   回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 21:12


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