Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

我们为许可用户提供了部分翻译好的中文文档。您只需登录便可查阅这些文档

sprank

Structural rank

Syntax

r = sprank(A)

Description

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.

Examples

A = [1    0    2    0
     2    0    4    0 ];

A = sparse(A);

sprank(A)

ans =
     2

rank(full(A))

ans =
     1

See Also

Introduced before R2006a

Was this topic helpful?