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
-
2475 Solvers
-
Sum of first n terms of a harmonic progression
520 Solvers
-
Replace multiples of 5 with NaN
472 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
405 Solvers
-
364 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!)