|
SOLUTIONS
|
Mathematica
>
Mathematics and Algorithms
>
Matrices and Linear Algebra
>
Linear Systems
>
MatrixRank
BUILT-IN MATHEMATICA SYMBOL
MatrixRank
MatrixRank[m]
gives the rank of the matrix m.
Details and OptionsDetails and Options
- MatrixRank works on both numerical and symbolic matrices.
- The rank of a matrix is the number of linearly independent rows or columns.
- MatrixRank[m, Modulus->n] finds the rank for integer matrices modulo n.
- MatrixRank[m, ZeroTest->test] evaluates
to determine whether matrix elements are zero. The default setting is ZeroTest->Automatic. - MatrixRank[m, Tolerance->t] gives the minimum rank with each element in a numerical matrix assumed to be correct only to within tolerance t.
- MatrixRank works with sparse arrays.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
Find the number of linearly independent rows:
| In[1]:= |
| Out[1]= |
New in 5 | Last modified in 6
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
