Skip to content

rcond

Reciprocal condition number estimate (1-norm).

c = rcond(A)

Returns LAPACK’s 1/cond(A, 1) estimate. Faster than 1/cond(A, 1) because it doesn’t require computing the inverse. Values near 0 indicate near-singular matrices; values near 1 indicate well-conditioned ones.

rcond(eye(5)) % 1
rcond([1 1; 1 1.0001]) % ~5e-5
  • cond — Condition number of a matrix.
  • condest — 1-norm condition number estimate (sparse-friendly).