Compute the 1-norm estimate of the reciprocal condition as returned by LAPACK. If the matrix is well-conditioned then c will be near 1 and if the matrix is poorly conditioned it will be close to zero.
The matrix a must not be sparse. If the matrix is sparse then
condest (
a)
orrcond (full (
a))
should be used instead.