Page 1 of 1

MATLAB QUESTION

Posted: Thu Jul 14, 2022 2:18 pm
by answerhappygod
MATLAB QUESTION
Matlab Question 1
Matlab Question 1 (34.37 KiB) Viewed 12 times
Eigenvectors and Eigenvalues: Construct the 20×20 matrix A=⎣⎡​10sin(0)0.100⋮00​e−110sin(1)0.10⋮00​0e−1/210sin(2)0.1⋱00​00e−1/310sin(3)⋱…⋯​000e−1/4⋱00​0000⋱0.10​……………10sin(18)0.1​0000⋮e−1/1910sin(19)​⎦⎤​ (a) Find the largest eigenvalue of A in absolute value, and save it value as A1. (b) Find eigenvector of A that corresponds to the eigenvalue found in part (a) and save it as A2. (Hint: For [V,D]=eig(A) in MATLAB and w,V=np.linalg.eig(A) in Python the columns of V are in the same order as the eigenvalues in D or w.)