HELP me!!! eigen value!!!!!

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 Comments

What did you try for your exam ?
it's not exam.... homework ...sorry I'm so embarrassed that the professor gave me the last assignment using matlab.
Good job editing the question , as expected ;)
Rik
Rik on 29 Jun 2020
And edited too quickly for Google to create a cache.
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. ;-)
(Answers Dev) Restored edit

Sign in to comment.

 Accepted Answer

Ameer Hamza
Ameer Hamza on 29 Jun 2020

2 votes

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).'

More Answers (0)

Community Treasure Hunt

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

Start Hunting!