| 7 | 1/1 | 返回列表 |
| 查看: 1682 | 回復: 6 | |||
monixia木蟲 (小有名氣)
|
[求助]
求解決matlab解非線性方程組出現(xiàn)的問題 已有1人參與
|
|
各位matlab大神,我計算的方程組如下, >> m=0.00040; f=@(x)([3.14159*m^3+1.9635e-7*x(1)-0.002*3.14159*0.0005^2; 6*(m+x(2))*1.9635e-7-3.14159*m^3+1.9635e-7*x(3)+1.9635e-7*x(6)*(m+x(2))/x(4)-0.002*3.14159*0.0005^2; 3.14159*m^3*x(4)/(m+x(2))+1.9635e-7*x(1)*x(5)/(x(1)+x(3))-1/6*1e-6; (6*1.9635e-7*(m+x(2))-3.14159*m^3)*x(4)/(m+x(2))+1.9635e-7*x(3)*x(5)/(x(1)+x(3))+1.9635e-7*x(6)-1/6*1e-6; fix(0.05/(x(1)+x(3)))*(32*0.0010087*x(5)/0.0005^2*x(3)+7.16*0.07275*(3*(1.0087*x(5)/72.75)^(2/3)/0.0005/(1+3.34*(1.0087*x(5)/72.75)^(2/3))))-6455.68*x(6) 0.05/(m+x(2))*(32*0.0010087*x(4)/0.0005^2*x(2)+7.16*0.07275*(3*(1.0087*x(4)/72.75)^(2/3)/0.0005/(1+3.34*(1.0087*x(4)/72.75)^(2/3))))-6455.68*x(6)]); options = optimset('MaxIter',1e30,'MaxFunEvals',1e50,'TolFun',1e-50); x=fsolve(f,[0.005 0.0005 0.001 0.15 0.9 0.3],options) No solution found. fsolve stopped because the relative size of the current step is less than the default value of the step size tolerance squared, but the vector of function values is not near zero as measured by the selected value of the function tolerance. <stopping criteria details> x = 0.0070 -0.0001 0.0030 0.0344 1.0563 0.4352 fsolve stopped because the relative norm of the current step, 2.848645e-15, is less than max(options.TolX^2,eps) = 1.000000e-12. However, the sum of squared function values, r = 3.833839e-15, exceeds sqrt(options.TolFun) = 1.000000e-25. Optimization Metric Options relative norm(step) = 2.85e-15 max(TolX^2,eps) = 1e-12 (default) r = 3.83e-15 sqrt(TolFun) = 1.0e-25 (selected) 如上,初值已經取的很接近實驗值了,還是沒有滿意的結果。將matlab算的帶入六個方程, ans = 4.7168e-12 ans = -8.4160e-11 ans = 1.5716e-09 ans = -1.5222e-09 ans = 15.7955 ans = 232.7567 后兩項收斂不是很好。我已經嘗試把optimset調到很小了,可是還是沒有滿意的結果。 求助各位大牛,這個該怎么解?還是方程需要修改? 如果圓滿解決,可以加金幣~ |
主管區(qū)長 (職業(yè)作家)
![]() |
專家經驗: +1059 |

木蟲 (小有名氣)
主管區(qū)長 (職業(yè)作家)
![]() |
專家經驗: +1059 |

主管區(qū)長 (職業(yè)作家)
![]() |
專家經驗: +1059 |

木蟲 (小有名氣)
主管區(qū)長 (職業(yè)作家)
![]() |
專家經驗: +1059 |

| 7 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 334求調劑 +3 | 志存高遠意在機?/a> 2026-03-16 | 3/150 |
|
|---|---|---|---|---|
|
[考研] 293求調劑 +11 | zjl的號 2026-03-16 | 16/800 |
|
|
[考研] 085601材料工程專碩求調劑 +5 | 慕寒mio 2026-03-16 | 5/250 |
|
|
[考研] 材料,紡織,生物(0856、0710),化學招生啦 +3 | Eember. 2026-03-17 | 7/350 |
|
|
[考研] 278求調劑 +3 | Yy7400 2026-03-13 | 3/150 |
|
|
[考研] [導師推薦]西南科技大學國防/材料導師推薦 +3 | 尖角小荷 2026-03-16 | 6/300 |
|
|
[考研] 東南大學364求調劑 +5 | JasonYuiui 2026-03-15 | 5/250 |
|
|
[考研] 333求調劑 +3 | 文思客 2026-03-16 | 7/350 |
|
|
[基金申請]
今年的國基金是打分制嗎?
50+3
|
zhanghaozhu 2026-03-14 | 3/150 |
|
|
[考研] 311求調劑 +5 | 26研0 2026-03-15 | 5/250 |
|
|
[考研] 0856求調劑 +3 | 劉夢微 2026-03-15 | 3/150 |
|
|
[考博] 東華理工大學化材專業(yè)26屆碩士博士申請 +6 | zlingli 2026-03-13 | 6/300 |
|
|
[考研] 0856專碩279求調劑 +5 | 加油加油!? 2026-03-15 | 5/250 |
|
|
[考研] 學碩285求調劑 +13 | Wisjxn 2026-03-12 | 46/2300 |
|
|
[考研] 290求調劑 +9 | ADT 2026-03-11 | 9/450 |
|
|
[考研] 材料工程調劑 +4 | 咪咪空空 2026-03-11 | 4/200 |
|
|
[碩博家園] 085600 260分求調劑 +3 | 天空還下雨么 2026-03-13 | 5/250 |
|
|
[考研] 求調劑 +7 | 18880831720 2026-03-11 | 7/350 |
|
|
[論文投稿]
投稿問題
5+4
|
星光燦爛xt 2026-03-12 | 6/300 |
|
|
[考研] 070303一志愿西北大學學碩310找調劑 +3 | d如愿上岸 2026-03-13 | 3/150 |
|