Back to Linear Algebra
cond
Condition number
Syntax
c = cond(A)
Description
Computes the condition number of a matrix using the ratio of the largest to smallest singular value. A large condition number indicates a nearly singular matrix.
Parameters
| Name | Description |
|---|---|
| A | Input matrix |
Returns
Scalar condition number