| 5 | 1/1 | 返回列表 |
| 查看: 787 | 回復(fù): 3 | |||
| 當(dāng)前只顯示滿足指定條件的回帖,點(diǎn)擊這里查看本話題的所有回帖 | |||
ssmile37鐵蟲 (小有名氣)
|
[求助]
matlab 運(yùn)行出錯(cuò),求幫忙啦~~·
|
||
|
用'Levenberg-Marquardt'計(jì)算,運(yùn)行后提示Optimization terminated: no further progress can be made.Cannot generate point that reduces the sum of squares. Problem may be ill-conditioned. 不知是何原因,現(xiàn)把程序發(fā)上來,求大家?guī)椭。。。?br /> function sh options = optimset('Algorithm','MaxFunEvals',5000); [x,RESNORM,RESIDUAL,EXITFLAG]=lsqnonlin(@sh1,[1,1,1],[],[],options); function f=sh1(beta) data=[286 0.0646 0.999354;297 0.1079 0.998921;303 0.1330 0.998670;323 0.2508 0.997492;353 0.8079 0.991921;369 1.5109 0.984891]; T=data(:,1)'; x1=data(:,2)'*0.01; x2=data(:,3)'; new1=84.6; new2=18.0; date1=24.77; date2=48.15; for i=1:6 r1(i)=1/x1(i)*exp(103.3*1000/8.314*(1/459.6-1/T(i))); l12(i)=beta(1)+beta(2)*T(i)+beta(3)*T(i)^2; fai2(i)=new2*x2(i)/(new1*x1(i)+new2*x2(i)); r1(i)=new1*((date1-date2)^2+2*l12(i)*date1*date2)*fai2(i)^2; x1c(i)=1/r1(i)*103.3*1000/8.314*(1/459.6-1/T(i)); end f=sum((x1-x1c).^2); |

榮譽(yù)版主 (著名寫手)
彩色掛圖
![]() |
專家經(jīng)驗(yàn): +2 |

鐵蟲 (小有名氣)

鐵蟲 (小有名氣)

| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 085600 材料與化工 329分求調(diào)劑 +11 | Mr. Z 2026-03-25 | 11/550 |
|
|---|---|---|---|---|
|
[考研] 081200-11408-276學(xué)碩求調(diào)劑 +6 | 崔wj 2026-03-26 | 6/300 |
|
|
[考研] 0703 化學(xué) 求調(diào)劑,一志愿山東大學(xué) 342 分 +4 | Shern—- 2026-03-28 | 4/200 |
|
|
[考研] 316求調(diào)劑 +7 | 江辭666 2026-03-26 | 7/350 |
|
|
[考研] 286求調(diào)劑 +4 | 丟掉懶惰 2026-03-27 | 7/350 |
|
|
[材料工程] 一志愿C9材料與化工專業(yè)總分300求調(diào)劑 +8 | 曼111 2026-03-24 | 9/450 |
|
|
[考研] 材料求調(diào)劑 一志愿哈工大總分298分,前三科223分 +5 | dongfang59 2026-03-27 | 5/250 |
|
|
[考研] 295求調(diào)劑 +5 | 1428151015 2026-03-27 | 6/300 |
|
|
[考研] 275求調(diào)劑 +10 | jjjjjjjjjjl 2026-03-27 | 10/500 |
|
|
[考研] 考研調(diào)劑 +4 | Sanmu-124 2026-03-26 | 4/200 |
|
|
[考研] 307求調(diào)劑 +8 | 超級(jí)伊昂大王 2026-03-24 | 9/450 |
|
|
[考研] 274求調(diào)劑 +17 | 顧九笙要謙虛 2026-03-24 | 23/1150 |
|
|
[考研] 333求調(diào)劑 +3 | question挽風(fēng) 2026-03-23 | 3/150 |
|
|
[論文投稿] Journal of Mechanical Science and Technology +3 | Russ_ss 2026-03-25 | 5/250 |
|
|
[考研] 調(diào)劑求收留 +7 | 果然有我 2026-03-26 | 7/350 |
|
|
[考研] 【雙一流院校新能源、環(huán)境材料,材料加工與模擬招收大量調(diào)劑】 +4 | Higraduate 2026-03-22 | 8/400 |
|
|
[考研] 081200-11408-276學(xué)碩求調(diào)劑 +3 | 崔wj 2026-03-26 | 3/150 |
|
|
[考研] 考研一志愿蘇州大學(xué)初始315(英一)求調(diào)劑 +3 | sbdksD 2026-03-24 | 4/200 |
|
|
[考研] 318求調(diào)劑 +3 | plum李子 2026-03-23 | 3/150 |
|
|
[考研] 277分求調(diào)劑,跨調(diào)材料 +3 | 考研調(diào)劑lxh 2026-03-24 | 3/150 |
|