(This program is just a particular case of the more genereal program "Trajectories of eigenvalues".)
(the comments in the program are in italian, i'm sorry)
The program take as input the matrix A and an integer T. T define the accuracy of the plot. The program decompose A as A=D+E where D is the diagonal matrix of the diagonal entries of A, and E is the matrix of extradiagonal elements of A.
The program plot the aigenvalues of the matrices D+tE with t=n/T (n=0,1,2,...,T).
added some info in description
Inspired: Trajectories of eigenvalues
View the winning live scripts from faculty and students who participated in the recent challenge.Learn more
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.