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 Solvers120
Suggested Problems
-
Make the vector [1 2 3 4 5 6 7 8 9 10]
48174 Solvers
-
443 Solvers
-
Compute a dot product of two vectors x and y
977 Solvers
-
Sum of diagonals elements of a matrix
217 Solvers
-
String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
1454 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!