This article is about GeoGebra command.
This command works in CAS View only.
MatrixRank[{{2, 2}, {1, 1}}]
MatrixRank[{{1, 2}, {3, 4}}]