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 ?

4 次查看(过去 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) )

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by