Diagonally dominant matrix with high condition number
Show older comments
Can diagonally dominant matrix get a high condition number(e.g > 100000).
Answers (1)
David Goodmanson
on 11 May 2017
Hello othello,
yes.
a = [2e5 .1;
.1 1];
cond(a)
ans = 2.0000e+05
2 Comments
othello nag
on 11 May 2017
Edited: othello nag
on 11 May 2017
David Goodmanson
on 13 May 2017
although in general it's not the eigenvalues that directly relate to cond:
m = [2 1e-5
1e5 2];
>> eig(m)
ans =
3
1
>> cond(m)
ans = 3.3333e+09
Categories
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!