function E = avoidance(A,B) % Input: Square symmetric matrices A, B of the same dimension n. % If no inputs are specified, A, B are random with n=10. % Output: Quasimatrix E with n columns representing the sorted eigenvalues % of (1-t)A + tB, 0