When I create a 3 by 3 identity matrix and try to find the determinant of it, here's what I get: K = eye(3)
K =
1 0 0
0 1 0
0 0 1
det(K) Subscript indices must either be real positive integers or logicals.
What does this error mean, and how can I fix this?