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!