solving matrix equation '[A]*(x)=(b) with variables at the x and b vectors
Show older comments
hello i dont know how to solve for ex A= [1 2;2 1]
x=[1;x]
b=[0;u]
the solution of this is x=-0.5, u=3/2 but how can i solve it by using Matlab? i will be greatfull to helpers
2 Comments
David Young
on 24 Nov 2014
It's awkward to use x both for a 2x1 vector and for a scalar. The question would be clearer if you used two different symbols - say x = [1; v].
In what way do you want to use MATLAB? The question is easy to solve on paper, so what kind of contribution do you think MATLAB will make?
elad
on 24 Nov 2014
Accepted Answer
Categories
Find more on Code Performance 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!