Given square matrix, and solution vector, find the values of the variables
Example:
xyz = [1 -1 2; 0 2 5; 4 0 -3]; //x-y+2z; 2y+5x; 4x-3z abc = [21; 21; 21] y_correct = [ 9 -2 5 ];
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers53
Suggested Problems
-
630 Solvers
-
Matrix indexing with two vectors of indices
775 Solvers
-
The Answer to Life, the Universe, and Everything
577 Solvers
-
The sum of the numbers in the vector
642 Solvers
-
402 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Test suite needs to be fixed.
yeah, you're right. I'll edit later after office, thanks
only wrong solutions accepted by testsuite (on the other hand, +1 if this was in fact the intention, that was original!)