Solving Ax=B where B is symbolic and x unknown?
Show older comments
How do I solve Ax=B when B is symbolic and x unknown?
For example, in the trivial case:
1*x+0*y=a
0*x+1*y=b
I'd like MATLAB to output x=a and y=b. (Obviously I have more complex matrices...)
I'm new to MATLAB and skimmed through the symbolic toolbox but couldn't really find what I need (or maybe found and didn't understand).
Help, please? Thanks.
p.s. How do I indicate a 'new line' in this post box? (Instead of pressing 'enter' twice)
Accepted Answer
More Answers (0)
Categories
Find more on Assumptions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!