No solution found using fsolve
2 次查看(过去 30 天)
显示 更早的评论
My fsolve function is
F=[e11*(x(1)-Vwt)+e12*(x(2)-p)*10^6-(qf-qs)*dt;...
e21*(x(1)-Vwt)+e22*(x(2)-p)*10^6-(Q+qf*hf-qs*hs)*dt;...
e32*(x(2)-p)+e33*(x(3)-ar)-(Q-ar*hc*qdc)*dt;...
e42*(x(2)-p)*10^6+e43*(x(3)-ar)+e44*(x(4)-Vsd)-(Ps*(Vsd0-Vsd)/Td)*dt-((hf-hw)/hc)*dt];
The error shown is
Norm of First-order Trust-region
Iteration Func-count f(x) step optimality radius
0 5 1.03051e+033 1.21e+032 1
1 10 8.02298e+032 1 1.07e+032 1
2 15 3.56576e+032 2.5 7.13e+031 2.5
3 20 2.32352e+019 4.99999 7.09e+023 6.25
4 25 1.41731e+019 12.5 3.28e+020 12.5
5 30 1.28804e+018 31.2499 2.06e+021 31.2
6 35 14064.4 13.4862 4.48e+017 78.1
7 40 5.22757 1.22008e-006 8.63e+015 78.1
8 41 5.22757 1.2766e-014 8.63e+015 78.1
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 default value of the function tolerance.
criteria details please help
0 个评论
采纳的回答
Alan Weiss
2014-3-12
I don't know what is going on with your function, but did you try the suggestions in the documentation?
Alan Weiss
MATLAB mathematical toolbox documentation
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!