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
-
Find the longest sequence of 1's in a binary sequence.
6880 Solvers
-
Sum of diagonal of a square matrix
1646 Solvers
-
Calculate the area of a triangle between three points
3595 Solvers
-
Write a code that will follow the equation y = x * (x + x) * x.
361 Solvers
-
Select primes from the matrix.
100 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!)