<P ><FONT face="Times New Roman">我在做一个图形就是反应器内温度y随冷凝水温度c的变化<BR><BR>M</FONT>文件:</P>
<P ><FONT face="Times New Roman">function F = fh1(x,a)</FONT></P>
<P ><FONT face="Times New Roman"> F=[ 40000*(x-500)+1000*200*200*(x-500)-(55000*3.3*exp((9900/1.987)*(1/300.-1/x))*0.3*10)/(1+3.3*exp((9900/1.987)*(1/300.-1/x))*0.01)-40000*(x-a)+1000*0.3*200*(x-293.15)]; % a 为冷凝水温度,解出的x是所求的反应器内温度%</FONT></P>
<P ><p><FONT face="Times New Roman"> <BR></FONT></p></P>
<P >程序<FONT face="Times New Roman">>> for i=1:200</FONT></P>
<P ><FONT face="Times New Roman">c(i)=273+i; %冷凝水温度从274K变化到473K%</FONT></P>
<P ><FONT face="Times New Roman">a=c(i);</FONT></P>
<P ><FONT face="Times New Roman">x = fsolve(@(x) fh1(x,a),[273]);</FONT></P>
<P ><FONT face="Times New Roman">y(i)=x;</FONT></P>
<P ><FONT face="Times New Roman">end<BR></FONT></P>
<P ><FONT face="Times New Roman">输入end后就出现了下面的错误:请高手帮我解决一下啊!<BR>Optimization terminated: norm of relative change in X is less<p></p></FONT></P>
<P ><FONT face="Times New Roman"> than max(options.TolX^2,eps) and sum-of-squares of function <p></p></FONT></P>
<P ><FONT face="Times New Roman"> values is less than sqrt(options.TolFun).<p></p></FONT></P>