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
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!)
Solution Comments
Show commentsProblem Recent Solvers52
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3059 Solvers
-
How to find the position of an element in a vector without using the find function
2809 Solvers
-
Basic commands - Least common multiple
241 Solvers
-
Create cosine function out of sine
117 Solvers
-
Get derivarive of polynomial given as vector array.
77 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!