Skip to content

condest

1-norm condition number estimate (sparse-friendly).

c = condest(A)
c = condest(A, t)
[c, v] = condest(A, t)

Estimates the 1-norm condition number of A using a randomized algorithm with t iterations (default t = 2, max useful t = 5). Much faster than cond(A, 1) for large or sparse matrices. The optional second return is a vector approximating null(A').

condest(magic(5)) % ~5.45 (estimate of cond(magic(5), 1))
  • cond — Condition number of a matrix.
  • rcond — Reciprocal condition number estimate (1-norm).