24小时热门版块排行榜    

查看: 677  |  回复: 11
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

helloliuya

金虫 (小有名气)

[求助] 拟合

请问这种拟合y=a*x+b*e^(-c*x);怎么做呀,谢谢
回复此楼
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

helloliuya

金虫 (小有名气)

送鲜花一朵
引用回帖:
4楼: Originally posted by dbb627 at 2012-04-05 16:41:41:
Mathematica
data = {{312.07, 0.0001632}, {318.84, 0.00024}, { 325.11,
    0.000323}, {330.36, 0.0004345}, {335.30, 0.0005504}, { 339.88,
    0.0006852}, { 345.97, 0.0009044}, {349.11, 0.00101}}; ...

非常感谢,请问用MATLAB可以做吗?
7楼2012-04-05 21:13:11
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 12 个回答

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

★ ★
感谢参与,应助指数 +1
cenwanglai: 金币+2, 谢谢回复~ 2012-04-06 08:02:28
不知道你要用什么软件来做
你可以看下这个帖子
用maple, SAS, SPSS, 以及mathmatica拟合
换下公式和数据解可以了

[ Last edited by dbb627 on 2012-4-5 at 14:20 ]
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楼2012-04-05 14:19:13
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

xiaoqing8569

铁杆木虫 (著名写手)

奥林匹亚光学院院长

【答案】应助回帖

★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
helloliuya: 金币+5 2012-04-05 21:13:22
cenwanglai: 金币+1, 欢迎常来~ 2012-04-06 08:02:43
Mathematica
FindFit命令就可以
3楼2012-04-05 16:33:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

dbb627

荣誉版主 (著名写手)

【答案】应助回帖

Mathematica
data = {{312.07, 0.0001632}, {318.84, 0.00024}, { 325.11,
    0.000323}, {330.36, 0.0004345}, {335.30, 0.0005504}, { 339.88,
    0.0006852}, { 345.97, 0.0009044}, {349.11, 0.00101}};

按上述格式输入数据
CODE:
data ={}
func = a*x+b*Exp[-c*x];
Normal[NonlinearModelFit[data, func, {a, b, c}, x]]

» 本帖已获得的红花(最新10朵)

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楼2012-04-05 16:41:41
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见