I treid to find the eigenvalues for a matrix with quaternion entires of oreder 4 or greater while using Matlab. I perforemd the following steps:

1. First I created quaternion arrays in the follwing way:

O=quaternion(0,0,0,0) % for 0

L=quaternion(1,0,0,0) % for 1

i = quaternion(0,1,0,0)

j = quaternion(0,0,1,0)

k = quaternion(0,0,0,1)

2. Next I defined a 4 by 4 matrix, corresponding to C_4 labelled by quaternion units.

A=[O i O L; -i O j O; O -j O -k; L O k O]

It gives me the following A matrix in Matlab.

A=

0 + 0i + 0j + 0k 0 + 1i + 0j + 0k 0 + 0i + 0j + 0k 1 + 0i + 0j + 0k

0 - 1i + 0j + 0k 0 + 0i + 0j + 0k 0 + 0i + 1j + 0k 0 + 0i + 0j + 0k

0 + 0i + 0j + 0k 0 + 0i - 1j + 0k 0 + 0i + 0j + 0k 0 + 0i + 0j - 1k

1 + 0i + 0j + 0k 0 + 0i + 0j + 0k 0 + 0i + 0j + 1k 0 + 0i + 0j + 0k

Now I am facing problems to find eigenvalues of A.

Can someone help me to find the eigenvalues of the matrix A while using Matlab?

Thanks

More Suliman Khan's questions See All
Similar questions and discussions