| MATLAB Function Reference | ![]() |
r = sprank(A)
r = sprank(A) is the structural rank of the sparse matrix A. For all values of A,
sprank(A) >= rank(full(A))
In exact arithmetic, sprank(A) == rank(full(sprandn(A))) with a probability of one.
A = [1 0 2 0
2 0 4 0 ];
A = sparse(A);
sprank(A)
ans =
2
rank(full(A))
ans =
1![]() | sprandsym | sprintf | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |