Warning: Explicit solution could not be found. > In solve at 81 - Symbolic Math Toolbox
2 次查看(过去 30 天)
显示 更早的评论
These are the equations:
X1_1 + X2_1 - 23687/100
X1_2 + X2_2 - 4980831654290391/4398046511104
X1_3 + X2_3 - 40309/25
X1_4 + X2_4 - 7701/10
X1_5 + X2_5 - 10829/25
2*(X1_1/2 - X2_1/2)^2 - 4050288284713621/4398046511104
2*(X1_2/2 - X2_2/2)^2 - 6817447548526841/274877906944
2*(X1_3/2 - X2_3/2)^2 - 4273253568628633/137438953472
X1_1 + X1_2 + X1_3 + X1_4 + X1_5 - 3489233779827237/2199023255552
X2_1 + X2_2 + X2_3 + X2_4 + X2_5 - 5713678544657883/2199023255552
Does this system has valid solutions OR Matlab is not able to find them?
4 个评论
Daniel Shub
2011-5-21
Can you post some code that can be cut and pasted into the command window to recreate the error. Including you solve method, and how you define Tequazioni.
采纳的回答
Walter Roberson
2011-5-21
There is indeed no solution.
The 4th line says X1_4 = constant1 - X2_4
The 5th line says X1_5 = constant2 - X2_5
The 9th line has X1_4 + X1_5 so that is going to be constant1 + constant 2 - (X2_4 + X2_5)
The 10th line has X2_4 + X2_5 .
Everything else on line 9 and line 10 can be resolved down to explicit values by way of the previous lines (lines 1-3 and 6-8)
Add substituted line 9 to line 10; because one has +(X2_4+X2_5) and the other has -(X2_4+X2_5) the X2_4 and X2_5 will cancel out leaving a constant sum. If that constant sum is not equal to 0 then the system has no solutions. The constant sum does indeed not equal to 0.
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!