FUNCTION REFERENCE

cond

Condition number for inversion.

Condition number for inversion.

Syntax

c = cond(A)

Syntax

c = cond(A, p)

p is 2 (default), 1, Inf or 'fro'. The 2-norm form uses singular values

and accepts rectangular A; the others need a square A. A singular A gives Inf.

Example

cond([1 2 3; 4 5 6; 7 8 10])   % 88.448

Differences from MATLAB: complex input is supported; results can differ from MATLAB in

the last digit, and a singular complex matrix can give Inf where MATLAB gives a

large finite value.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.