Problem 3073. Projector Matrix
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
Binbin Qi
on 10 Mar 2015
test 8 is not a symmetric matrix, is it a projector matrix?
goc3
on 10 Mar 2015
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.
CXD
on 24 May 2022
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.
Solution Comments
Show commentsProblem Recent Solvers171
Suggested Problems
-
Remove the polynomials that have positive real elements of their roots.
1739 Solvers
-
Convert a numerical matrix into a cell array of strings
2355 Solvers
-
978 Solvers
-
Flag largest magnitude swings as they occur
688 Solvers
-
Double all elements in the array
2124 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!