The find
function within matlab
returns indices where the given locigal argument evaluates true.
Thus I'm wondering, why the return values (for the indices) are of type double
and not uint32
or uint64
like the biggest index into a matrix could be.
Another strange thing which might be connected to that here is, that running
[~,max_num_of_elem]=computer
returns the maximal number of elements allowed for a matrix in the variable max_num_of_elem
which is also of type double
.