I want the code of this problem. If you help
find the largest eigenvalue for the following matrix form with n=20
me, you'll be very lucky tomorrow.

6 comentarios

madhan ravi
madhan ravi el 29 de Jun. de 2020
What did you try for your exam ?
Doyoon Kim
Doyoon Kim el 29 de Jun. de 2020
it's not exam.... homework ...sorry I'm so embarrassed that the professor gave me the last assignment using matlab.
madhan ravi
madhan ravi el 29 de Jun. de 2020
Good job editing the question , as expected ;)
Rik
Rik el 29 de Jun. de 2020
And edited too quickly for Google to create a cache.
John D'Errico
John D'Errico el 29 de Jun. de 2020
Wel, no. You are not embarrassed that your instructor gave you an assignment using MATLAB. You are embarrasesed that you did not try sufficiently to answer it yourself, just asking for others to do your homework, and that you asked that question in a public forum. Homework is assigned to you to do at home. It is not a task where you ask others to do your work for you. If that were the case, they might call it something like otherwork. ;-)
Rena Berman
Rena Berman el 22 de Jul. de 2020
(Answers Dev) Restored edit

Iniciar sesión para comentar.

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 29 de Jun. de 2020

2 votos

See the eig() function: https://www.mathworks.com/help/releases/R2020a/matlab/ref/eig.html to find all the eigenvalues. Use max(): https://www.mathworks.com/help/releases/R2020a/matlab/ref/max.html to find the maximum one. You can also use automatic array expansion to create matrix A. Something like this: (1:20).*(0:19).'

Más respuestas (0)

Preguntada:

el 29 de Jun. de 2020

Comentada:

el 22 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by