Write a function to determine whether or not the matrix is a projector. Projector matrices are defined as P^2 = P.
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers171
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15779 Solvers
-
Numbers with prime factors 2, 3 and 5.
681 Solvers
-
Simple equation: Annual salary
4255 Solvers
-
Flip the vector from right to left
10665 Solvers
-
Mersenne Primes vs. All Primes
841 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
test 8 is not a symmetric matrix, is it a projector matrix?
Sorry about that one. I've removed that test case. I don't know how long it will take for the re-scoring to propagate, though.
And I wonder which kind of code passes the case 1 in test 12, as well as case 3 in test 10. Also test 5.