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 ?

5 vues (au cours des 30 derniers jours)
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 commentaires
Walter Roberson
Walter Roberson le 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 le 24 Nov 2017
Green Arrow: You can edit your question; or better yet, post the new version of the question as a comment here.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Linear Algebra dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by