4 ms·
I get the same results as the author if I pass the matrix to eig (R2020a, Intel Mac) >> lesp = gallery('lesp', 100) >> any(imag(eig(lesp))) ans =
by mattkrause 5y ago
I get the same results as the author if I pass the matrix to eig (R2020a, Intel Mac)
>> lesp = gallery('lesp', 100)
>> any(imag(eig(lesp)))
ans =
logical
0
>> any(imag(eig(lesp')))
ans =
logical
1
- a-dub 5y agowhat about eigs() with the 'Display' option turned on?
- mattkrause 5y agoNo luck there either, I'm afraid. It sets 'flag' to zero (i.e., converged), but A and A^T still differ.