Problem 43301. Calculate inverse matrix in m by n matrix
x=(1:10)' y=roundn(2*x+7*rand(size(x)),-1)
a*x=y
Estimate a using inverse matrix calculation. This is principle of linear regression.
Solution Stats
Problem Comments
-
2 Comments
Matthew Eicholtz
on 10 Oct 2016
As a friendly reminder, we can see the test suite, so it makes the problem more challenging if the solution is not explicitly in the test suite.
David Verrelli
on 4 Jul 2018
The Test Suite needs to allow for floating-point errors in all test cases, as demonstrated in Solution 1575603. (Refer to Problem 44690.) Also, there should be at least four test cases for every problem.
Solution Comments
Show commentsProblem Recent Solvers85
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
49780 Solvers
-
272 Solvers
-
Sum the elements in either diagonal of a square matrix
213 Solvers
-
Cumulative product of a vector
284 Solvers
-
81 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!