Warning: Explicit solution could not be found. > In solve at 81 - Symbolic Math Toolbox
2 views (last 30 days)
Show older comments
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 Comments
Daniel Shub
on 21 May 2011
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.
Accepted Answer
Walter Roberson
on 21 May 2011
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.
More Answers (1)
See Also
Categories
Find more on Symbolic Math Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!