isIllConditioned
Determine whether matrix is ill conditioned
Description
tf = isIllConditioned( returns
logical dA)1 (true) if the original coefficient
matrix A used to create decomposition dA is
ill conditioned; otherwise, it returns logical 0
(false).
The test used depends on the type of decomposition:
'qr'and'cod'decompositions — The coefficient matrix is ill conditioned ifrank(dA) < min(size(A)).All other decompositions — The coefficient matrix is ill conditioned if
rcond(dA) < eps.
If isIllConditioned returns logical 1
(true), then solving a linear system with either
dA\b or b/dA displays a warning. Use the
CheckCondition property of the decomposition object
dA to turn off these warnings.
Examples
Input Arguments
Tips
isIllConditioneduses rank and condition number estimates of the decomposition object. These estimates can differ compared to callingrank(A)orrcond(A)on the coefficient matrix directly.
Version History
Introduced in R2017b
See Also
decomposition | rcond | rank