Problem 2851. Find the rank of a matrix
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
Copy/paste rank.m (with a slight tweak since nargin=1) works just fine. :-)
Is it so? Thanks for your input. I will take care next time.
-
1 Comment
I think the test suite needs to be expanded to include a matrix whose rank does not equal the number of rows. The solution here passes the test suite, but would not actually find the rank.
Problem Recent Solvers57
Suggested Problems
-
13940 Solvers
-
First non-zero element in each column
727 Solvers
-
Matrix indexing with two vectors of indices
587 Solvers
-
325 Solvers
-
Create a square matrix of zeros of even order
120 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!