given a matrix, find its cofactor matrix https://en.wikipedia.org/wiki/Minor_(linear_algebra)#Inverse_of_a_matrix
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers29
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15817 Solvers
-
Swap the first and last columns
23167 Solvers
-
424 Solvers
-
Generate a random matrix A of (1,-1)
434 Solvers
-
Calculate the derivative of a polynomial
240 Solvers
More from this Author174
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Why is there a value 4.000000000000001 in the cofactor matrix of problem 4? The matrix is composed entirely of integers, so the cofactors should all be integers as well.
@william .. sorry man-- i overlooked .. i've corrected it now.
sth related to the determinant function- matlab provided that answer. i didn't see that
Why is det(x)*inv(x) not working?