24小时热门版块排行榜    

查看: 2732  |  回复: 9

shisong

木虫 (正式写手)

[交流] 【求助】求教matlab解非线性方程组已有4人参与

function f=fun(x)
f1=11.87-x(1)*(1-1/(14.2971*x(1)^0.5*x(3)-1.6884*x(1)))
f2=13.03-x(2)*(1-1/(14.2971*x(2)^0.5*x(3)-1.6884*x(2)))
f3=10^3.94/10^4.25-(x(1)^0.5/x(2)^0.5)*((14.2971*x(2)^0.5*x(3)-1.6884*x(2))/(1
4.2971*x(1)^0.5*x(3)-1.6884*x(1)))*exp(-1.6884*x(1)/(14.2971*x(1)^0.5*x(3)-1.6
884*x(1))+1.6884*x(2)/(14.2971*x(2)^0.5*x(3)-1.6884*x(2)));
f=f1^2+f2^2+f3^2


我在用laqnonlin来解上面的非线性方程组时,总是提示
Maximum number of function evaluations exceeded. Increase OPTIONS.MaxFunEvals.

我提高了这个MaxFunEvals,
但是又出现
aximum number of iterations exceeded. Increase OPTIONS.MaxIter.

在提高这个MaxIter,就又出现要求提高那个MaxFunEvals,
请教高手能不能同时提高啊?
或者哪位大侠帮我看看用什么函数好?我总是得不出正确值。
正确值为13.2 13.6 0.604
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yqx1985

木虫 (著名写手)

云中仙

wullww

至尊木虫 (文坛精英)


luoqiquan(金币+1):thank you 2010-05-17 21:37:31

shisong

木虫 (正式写手)

yqx1985

木虫 (著名写手)

云中仙

试试1stOpt

★ ★
dongdong3881(金币+2):多谢交流 2010-05-18 13:20:29
shisong(金币+5):想问下,1stOpt是什么东东? 2010-05-18 14:31:23

yqx1985

木虫 (著名写手)

云中仙

1stOpt 简介

★ ★ ★
luoqiquan(金币+3):thank you very much 2010-05-21 18:44:18
shisong(金币+10):谢谢哦 2010-06-11 12:35:17

kuangfg1987

至尊木虫 (职业作家)

★ ★ ★
mingdong(金币+3):感谢交流! 2010-05-23 22:15:34
shisong(金币+10):谢谢哦 2010-06-11 12:35:26

qinjiacai

新虫 (初入文坛)


小木虫: 金币+0.5, 给个红包,谢谢回帖

gulingpi

新虫 (初入文坛)


小木虫: 金币+0.5, 给个红包,谢谢回帖

gulingpi

新虫 (初入文坛)

相关版块跳转 我要订阅楼主 shisong 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见