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 Ansichten (letzte 30 Tage)
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 ?
  2 Kommentare
Walter Roberson
Walter Roberson am 24 Nov. 2017
Green Arrow comments to their own question:
I want to delete this question and ask it again after formatting
Walter Roberson
Walter Roberson am 24 Nov. 2017
Green Arrow: You can edit your question; or better yet, post the new version of the question as a comment here.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 23 Nov. 2017
H = hilb(n);
max( eig(H) )

Kategorien

Mehr zu Linear Algebra finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by