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

1 view (last 30 days)
Doyoon Kim
Doyoon Kim on 29 Jun 2020
Commented: Rena Berman on 22 Jul 2020
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
John D'Errico
John D'Errico on 29 Jun 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 on 22 Jul 2020
(Answers Dev) Restored edit

Sign in to comment.

Accepted Answer

Ameer Hamza
Ameer Hamza on 29 Jun 2020
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)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!