Warning: Explicit solution could not be found.
6 views (last 30 days)
Sorry for disturbing you guys but i have wrote a code shown below:
The problem is when the warning appears saying that explicit solution could not be found.What is wrong with it?
Andrew Newell on 9 Mar 2011
Are you using the Symbolic Toolbox? I don't get any such warning. Maybe some of your variables already have an earlier definition? Try adding
syms x1 x2 x3 x4 x2a
before the above commands.
David on 21 Oct 2013
Edited: David on 21 Oct 2013
This is what you need to do, I think.
syms x2a x3 y3 x4 y4
sym() constructs symbolic objects from the input you give it and solve() requires that the equations you give it are symbolic expressions.
Note: You may not need to put sym() around the equations for f4, f5, and f6, but you definitely do for x4main.