A is a Hilbert matrix of size n, in which each element equals aij=1/(i+j-1) . How can I create this matrix then to return the largest eigenvalue of A ?

1 次查看(过去 30 天)
A is a Hilbert matrix of size n, in which each element equals aij=1/(i+j-1) . How can I create this matrix then to return the largest eigenvalue of A ?

回答(1 个)

Walter Roberson
Walter Roberson 2017-11-23
H = hilb(n);
max( eig(H) )

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by