cond
Condition number for inversion
Syntax
Description
Examples
Input Arguments
Output Arguments
More About
Tips
rcondis a more efficient, but less reliable, method of estimating the condition of a matrix compared tocond.
Algorithms
The algorithm for cond has three pieces:
If
p = 2, thenconduses the singular value decomposition provided bysvdto find the ratio of the largest and smallest singular values.If
p = 1,Inf, or'fro', thencondcalculates the condition number using the appropriate norm of the input matrix and its inverse withnorm(A,p) * norm(inv(A),p).If the input matrix is sparse, then
condignores any specifiedpvalue and callscondest.