Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
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 comentarios
Walter Roberson
Walter Roberson el 24 de Nov. de 2017
Green Arrow comments to their own question:
I want to delete this question and ask it again after formatting
Walter Roberson
Walter Roberson el 24 de Nov. de 2017
Green Arrow: You can edit your question; or better yet, post the new version of the question as a comment here.

Iniciar sesión para comentar.

Respuestas (1)

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by