c=cond(a)| Inputs | |
a |
Any matrix |
| Outputs | |
c |
The estimated condition number of a .
|
a .
>>a=[1 2 3 ; 4 5 6; 7 8 9]
>>cond(a)
2.0187e+016
>>// Since the condition number is large, the nullspace
>>// should not be empty
>>null(a)
0.4082
-0.8165
0.4082
>>// Verify
>>a[1,:]+a[3,:]-2*a[2,:]
0 0 0