Problem 43296. Refresh your system of equations
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
Matthew Eicholtz
on 10 Oct 2016
Test suite needs to be fixed.
Jamil Kasan
on 11 Oct 2016
yeah, you're right. I'll edit later after office, thanks
Alfonso Nieto-Castanon
on 24 Oct 2016
only wrong solutions accepted by testsuite (on the other hand, +1 if this was in fact the intention, that was original!)
Solution Comments
Show commentsProblem Recent Solvers52
Suggested Problems
-
Return the first and last characters of a character array
11742 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
883 Solvers
-
528 Solvers
-
519 Solvers
-
Find out sum of all elements of given Matrix
531 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!