Clear Filters
Clear Filters

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 view (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 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 on 24 Nov 2017
Green Arrow: You can edit your question; or better yet, post the new version of the question as a comment here.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 23 Nov 2017
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!