matlab 中解二元非线性方程组问题,fsolve高手帮帮忙

functionF=myfun(x);Isc=11;Voc=26.9;Vmpp=21.6;Impp=10.2;ns=1;Vt=13.8;Rs=x(1);Rsh=x(2);... function F=myfun(x);
Isc=11;
Voc=26.9;
Vmpp=21.6;
Impp=10.2;
ns=1;
Vt=13.8;
Rs=x(1);
Rsh=x(2);
F=[(Isc*Rsh+Isc*Rs-Voc)*exp((Vmpp+Impp*Rs-Voc)/(ns*Vt))-(Isc-Impp)*(Rs+Rsh)-Vmpp;(Voc-Isc*(Rs+Rsh))/(ns*Vt)*exp(((Vmpp+Impp*Rs-Voc)/(ns*Vt)))-(Impp*(1+Rs+Rsh)-Vmpp)/(Impp*Rs-Vmpp)];

y=fsolve('myfun',[1,1])

fsolve stopped because the problem appears regular as measured by the gradient,
but the vector of function values is not near zero as measured by the
default value of the function tolerance.

没结果咋回事啊?求教啊!
展开
 我来答
lhmhz
高粉答主

2013-03-01 · 专注matlab等在各领域中的应用。
lhmhz
采纳数:7264 获赞数:17014

向TA提问 私信TA
展开全部
F表达式多了中括号,去掉后得到正解。
Equation solved.
fsolve completed because the vector of function values is near zeroas measured by the default value of the function tolerance, and
the problem appears regular as measured by the gradient.
<stopping criteria details>
x = 1.5189 1.9865
fval =
8.8622e-010
exitflag =
1
追问
答案还是不正确,你试试两个方程的左右两边结果不相等
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式